From 232b560c3d8937b5237233cc3fa3d5596ce4b91c Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 8 May 2000 11:49:44 +0000 Subject: Unset the location before cancelling subs, to avoid a window where a permanent ghost gets left behind. --- zwgc/zephyr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zwgc') 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 */ -- cgit v1.2.3