forked from External/mage
Other: fixed rare NPE error on wrong connection, fixed formal param in Aminatou, the Fateshifter;
This commit is contained in:
parent
33380f09c2
commit
07d0e590a9
2 changed files with 3 additions and 4 deletions
|
|
@ -518,7 +518,7 @@ public class SessionImpl implements Session {
|
|||
}
|
||||
|
||||
try {
|
||||
if (callbackClient.isConnected()) {
|
||||
if (callbackClient != null && callbackClient.isConnected()) {
|
||||
callbackClient.removeListener(callbackHandler);
|
||||
callbackClient.disconnect();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue