forked from External/mage
fixed several NPEs on server
This commit is contained in:
parent
621e0fb4b1
commit
ca6e1556f0
5 changed files with 16 additions and 7 deletions
|
|
@ -119,7 +119,8 @@ public class User {
|
|||
public synchronized void fireCallback(final ClientCallback call) {
|
||||
if (isConnected()) {
|
||||
Session session = SessionManager.getInstance().getSession(sessionId);
|
||||
session.fireCallback(call);
|
||||
if (session != null)
|
||||
session.fireCallback(call);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue