Fixed synergy quiting when powerdvd stops playing a DVD. This may
fix some other bugs that involve unexpectedly quiting. The problem was that synergy would (cleanly) quit when receiving an event with a message id of 0 when not running as a service.
This commit is contained in:
parent
18dda312d2
commit
169c1e5008
|
@ -97,7 +97,7 @@ CMSWindowsEventQueueBuffer::getEvent(CEvent& event, UInt32& dataID)
|
|||
event = CEvent(CEvent::kQuit);
|
||||
return kSystem;
|
||||
}
|
||||
else if (m_event.message == m_daemonQuit) {
|
||||
else if (m_daemonQuit != 0 && m_event.message == m_daemonQuit) {
|
||||
event = CEvent(CEvent::kQuit);
|
||||
return kSystem;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue