if we don't have a connkey, comms will not be open so don't touch the sock file or call checkCommandQueue
This commit is contained in:
parent
45778384a6
commit
705468dfc4
|
@ -761,6 +761,7 @@ void EventStream::runStream() {
|
|||
unsigned int delta_us = 0;
|
||||
send_frame = false;
|
||||
|
||||
if ( connkey ) {
|
||||
// commands may set send_frame to true
|
||||
while ( checkCommandQueue() && !zm_terminate ) {
|
||||
// The idea is to loop here processing all commands before proceeding.
|
||||
|
@ -771,6 +772,7 @@ void EventStream::runStream() {
|
|||
touch(sock_path_lock);
|
||||
last_comm_update = now;
|
||||
}
|
||||
}
|
||||
|
||||
if ( step != 0 )
|
||||
curr_frame_id += step;
|
||||
|
|
Loading…
Reference in New Issue