We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d36fcaf + bf53e2c commit 41b3741Copy full SHA for 41b3741
1 file changed
src/codeanticode/syphon/SyphonServer.java
@@ -93,6 +93,9 @@ protected void finalize() throws Throwable {
93
* @return boolean
94
*/
95
public boolean hasClients() {
96
+ if(server == null)
97
+ return false;
98
+
99
return server.hasClients();
100
}
101
0 commit comments