mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-08-06 15:54:48 +00:00
stop signal
This commit is contained in:
parent
c8d77a5335
commit
b4f481028c
@ -250,6 +250,10 @@ main(int argc, char *argv[]) {
|
||||
BOOST_LOG(debug) << "IDR";
|
||||
idr->raise(true);
|
||||
break;
|
||||
case EventType::Stop:
|
||||
BOOST_LOG(debug) << "Received shutdown event from shm";
|
||||
process_shutdown_event->raise(true);
|
||||
break;
|
||||
default:
|
||||
BOOST_LOG(info) << "invalid message "<< u_int(buffer[0]) << " " << u_int(buffer[1]);
|
||||
break;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user