dwm: Reset m_ipc with nullptr

Reset with nullptr to properly release and delete m_ipc.
This commit is contained in:
Mihir Lad 2020-07-24 00:00:47 -04:00
parent 565fc7f329
commit 16f90bea83

View File

@ -145,7 +145,7 @@ namespace modules {
void dwm_module::stop() {
try {
m_log.info("%s: Disconnecting from socket", name());
m_ipc.reset();
m_ipc.reset(nullptr);
} catch (...) {
}