Remove accidental code comment

This commit removes an accidentally placed code comment. Behavior has
been tested during the original work related to that commit.

Fixes: b562b930cc
Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2025-12-08 17:17:43 -08:00
parent 5066a39ffb
commit f5e5da25eb

View File

@@ -61,7 +61,7 @@ class NostrNetworkManager {
func handleAppBackgroundRequest(beforeClosingNdb operationBeforeClosingNdb: (() async -> Void)? = nil) async { func handleAppBackgroundRequest(beforeClosingNdb operationBeforeClosingNdb: (() async -> Void)? = nil) async {
// Mark NDB as closed without actually closing it, to avoid new tasks from using NostrDB // Mark NDB as closed without actually closing it, to avoid new tasks from using NostrDB
// self.delegate.ndb.markClosed() self.delegate.ndb.markClosed()
await self.reader.cancelAllTasks() await self.reader.cancelAllTasks()
await self.pool.cleanQueuedRequestForSessionEnd() await self.pool.cleanQueuedRequestForSessionEnd()
await operationBeforeClosingNdb?() await operationBeforeClosingNdb?()