summaryrefslogtreecommitdiff
path: root/zwgc
diff options
context:
space:
mode:
authorGravatar Greg Hudson <ghudson@mit.edu>2000-05-08 11:49:44 +0000
committerGravatar Greg Hudson <ghudson@mit.edu>2000-05-08 11:49:44 +0000
commit232b560c3d8937b5237233cc3fa3d5596ce4b91c (patch)
tree77202c57cbffd7a5c1cdd39de78510428cdfd927 /zwgc
parent89ac6a04ccc9bf7e8eaac087ce397656d10cf156 (diff)
Unset the location before cancelling subs, to avoid a window where a
permanent ghost gets left behind.
Diffstat (limited to 'zwgc')
-rw-r--r--zwgc/zephyr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zwgc/zephyr.c b/zwgc/zephyr.c
index c5a3855..faba5fb 100644
--- a/zwgc/zephyr.c
+++ b/zwgc/zephyr.c
@@ -218,12 +218,12 @@ void finalize_zephyr() /* <<<>>> */
*/
#ifdef DEBUG
if (zwgc_debug) {
- TRAP( ZCancelSubscriptions(0), "while canceling subscriptions" );
TRAP( ZUnsetLocation(), "while unsetting location" );
+ TRAP( ZCancelSubscriptions(0), "while canceling subscriptions" );
} else {
#endif /* DEBUG */
- (void) ZCancelSubscriptions(0);
(void) ZUnsetLocation();
+ (void) ZCancelSubscriptions(0);
#ifdef DEBUG
}
#endif /* DEBUG */