mirror of
https://github.com/processing/processing4.git
synced 2026-02-04 22:29:18 +01:00
Fixed possible NullPointerException
This commit is contained in:
@@ -192,6 +192,9 @@ public class Base {
|
||||
Socket s = ss.accept();
|
||||
BufferedReader br = new BufferedReader(new InputStreamReader(s.getInputStream()));
|
||||
String receivedKey = br.readLine();
|
||||
|
||||
if (platform.base == null) continue;
|
||||
|
||||
if (key.equals(receivedKey)) {
|
||||
String filename = br.readLine();
|
||||
if (filename != null) {
|
||||
|
||||
Reference in New Issue
Block a user