dwm: Reset m_ipc with nullptr
Reset with nullptr to properly release and delete m_ipc.
This commit is contained in:
parent
565fc7f329
commit
16f90bea83
@ -145,7 +145,7 @@ namespace modules {
|
|||||||
void dwm_module::stop() {
|
void dwm_module::stop() {
|
||||||
try {
|
try {
|
||||||
m_log.info("%s: Disconnecting from socket", name());
|
m_log.info("%s: Disconnecting from socket", name());
|
||||||
m_ipc.reset();
|
m_ipc.reset(nullptr);
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user