From 018823edf6eb95cd200cd3654517880f0bdba3f8 Mon Sep 17 00:00:00 2001 From: Andrzej Kapolka Date: Fri, 8 Apr 2011 03:30:13 +0000 Subject: [PATCH] I'm having a devil of a time figuring out why there are still subscriptions lying around when the client reconnects. Let's try just clearing them out again on resumption. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6619 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../java/com/threerings/presents/server/PresentsSession.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/threerings/presents/server/PresentsSession.java b/src/main/java/com/threerings/presents/server/PresentsSession.java index b10a21521..5beac1e9f 100644 --- a/src/main/java/com/threerings/presents/server/PresentsSession.java +++ b/src/main/java/com/threerings/presents/server/PresentsSession.java @@ -550,6 +550,9 @@ public class PresentsSession return; } + // make extra sure we have no lingering subscriptions + clearSubscrips(false); + // Update our client secret with the new auth request _clobj.getLocal(ClientLocal.class).secret = getSecret();