Don't allow the dummy DObject to be destroyed. That shouldn't happen in the normal course of
operations, but previously if someone called destroy on an uninitialized DObject or called PresentsDObjectManager.destroyObject with its oid, it'd be destroyed. Subscribing to objects depends on that object existing, so if it's destroyed, the server will continue to function normally except that subscription requests will be silently dropped. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5851 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -962,7 +962,7 @@ public class PresentsSession
|
||||
// from interface ProxySubscriber
|
||||
public void eventReceived (DEvent event)
|
||||
{
|
||||
if (event instanceof PresentsDObjectMgr.AccessObjectEvent) {
|
||||
if (event instanceof PresentsDObjectMgr.AccessObjectEvent<?>) {
|
||||
log.warning("Ignoring event that shouldn't be forwarded " + event + ".",
|
||||
new Exception());
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user