Open TinaTiel opened 3 years ago
When a connection is closed (e.g., when OBS is turned off while connected), a NullPointerException is thrown.
This is caused by making a direct method call on the CallBack; if none is registered, then a NPE results.
See https://github.com/TinaTiel/websocket-obs-java/blob/ba4a6c1954fda9c11a0018d1061d6ae842bcd31b/src/main/java/net/twasi/obsremotejava/OBSCommunicator.java#L160
When a connection is closed (e.g., when OBS is turned off while connected), a NullPointerException is thrown.
This is caused by making a direct method call on the CallBack; if none is registered, then a NPE results.