diff --git a/GUSI/src/tangled/GUSIOTNetDB.cp b/GUSI/src/tangled/GUSIOTNetDB.cp index c98d26d..4517a10 100755 --- a/GUSI/src/tangled/GUSIOTNetDB.cp +++ b/GUSI/src/tangled/GUSIOTNetDB.cp @@ -53,10 +53,10 @@ pascal void GUSIOTNetDBNotify( } break; default: + if (code == kOTProviderIsClosed) + netdb->fCreationContext = nil; // Close & reopen if (code != kOTProviderWillClose) result = 0; - else - netdb->fCreationContext = nil; // Close & reopen break; } if (result)