We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d538c commit 13e1e9bCopy full SHA for 13e1e9b
src/remote/server/ReplServer.cpp
@@ -416,7 +416,12 @@ namespace
416
417
void shutdown()
418
{
419
+ FbLocalStatus localStatus;
420
+ if (m_replicator.hasData())
421
+ m_replicator->close(&localStatus);
422
m_replicator = nullptr;
423
+ if (m_attachment.hasData())
424
+ m_attachment->detach(&localStatus);
425
m_attachment = nullptr;
426
m_sequence = 0;
427
m_connected = false;
@@ -437,7 +442,7 @@ namespace
437
442
438
443
bool isShutdown() const
439
444
440
- return (m_attachment == NULL);
445
+ return (m_attachment == nullptr);
441
446
}
447
448
const PathName& getDirectory() const
0 commit comments