From a74e7493e92a150e9d581b2a1b092e4ef042d1c1 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Thu, 22 Mar 2007 06:10:19 +0000 Subject: [PATCH] Use Log.dumpStack() where the Java source used Thread.dumpStack(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4633 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/presents/util/SafeSubscriber.as | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/as/com/threerings/presents/util/SafeSubscriber.as b/src/as/com/threerings/presents/util/SafeSubscriber.as index da5704275..c7e79c0f2 100644 --- a/src/as/com/threerings/presents/util/SafeSubscriber.as +++ b/src/as/com/threerings/presents/util/SafeSubscriber.as @@ -118,6 +118,7 @@ public class SafeSubscriber implements Subscriber return; } log.warning("Inactive safesub asked to unsubscribe " + this + "."); + Log.dumpStack(); } // note that we no longer desire to be subscribed @@ -128,6 +129,7 @@ public class SafeSubscriber implements Subscriber if (_object != null) { log.warning("Incroyable! A safesub has an object and is " + "pending!? " + this + "."); + Log.dumpStack(); } else { // nothing to do but wait for the subscription to complete // at which point we'll pitch the object post-haste @@ -139,6 +141,7 @@ public class SafeSubscriber implements Subscriber if (_object == null) { log.warning("Zut alors! A safesub _was_ active and not " + "pending yet has no object!? " + this + "."); + Log.dumpStack(); // nothing to do since we're apparently already unsubscribed return; }