This commit is contained in:
Redkale
2016-07-26 11:21:03 +08:00
parent 1369bd3e9e
commit c3fde23d77

View File

@@ -110,7 +110,11 @@ public abstract class NodeServer {
logger.log(Level.SEVERE, "Server (" + server.getSocketAddress() + ") cannot find Context", e);
}
}
context.submit(t);
if (context == null) {
t.run();
} else {
context.submit(t);
}
}
};