fix(i3): Ignore ipc read error on shutdown
This commit is contained in:
parent
178b656d08
commit
8750894bb3
@ -113,9 +113,11 @@ namespace modules {
|
|||||||
m_ipc.handle_event();
|
m_ipc.handle_event();
|
||||||
return true;
|
return true;
|
||||||
} catch (const std::exception& err) {
|
} catch (const std::exception& err) {
|
||||||
m_log.err("%s: Error while handling ipc event, stopping module...", name());
|
if (enabled()) {
|
||||||
m_log.err("%s: %s", name(), err.what());
|
m_log.err("%s: Error while handling ipc event, stopping module...", name());
|
||||||
stop();
|
m_log.err("%s: %s", name(), err.what());
|
||||||
|
stop();
|
||||||
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user