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 e17ea7a commit a87b22eCopy full SHA for a87b22e
main/WebServer.cpp
@@ -609,7 +609,6 @@ namespace http {
609
{
610
if (m_pWebEm == NULL)
611
return;
612
- m_pWebEm->SetSessionStore(NULL);
613
m_pWebEm->Stop();
614
}
615
catch (...)
webserver/cWebem.cpp
@@ -59,6 +59,8 @@ cWebem::cWebem(
59
60
61
cWebem::~cWebem() {
62
+ // Remove reference to CWebServer before its deletion (fix a "pure virtual method called" exception on server termination)
63
+ mySessionStore = NULL;
64
// Delete server (no need with smart pointer)
65
66
0 commit comments