diff options
Diffstat (limited to 'src/Common')
-rw-r--r-- | src/Common/ActionManager.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/ActionManager.cpp b/src/Common/ActionManager.cpp index fc2bd98..166001a 100644 --- a/src/Common/ActionManager.cpp +++ b/src/Common/ActionManager.cpp @@ -51,6 +51,10 @@ void ActionManager::doDeinit() { void ActionManager::run() { + // Empty pipe + char buf[16]; + while(read(notifyPipe[0], buf, sizeof(buf)) > 0) {} + while(true) { sigset_t set, oldset; sigfillset(&set); |