File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -74,14 +74,14 @@ class Stream::Impl
74
74
75
75
bool processEvents ( const bool interact )
76
76
{
77
- while ( _stream.isRegisteredForEvents () && _stream. hasEvent ( ))
77
+ while ( _stream.hasEvent ( ))
78
78
{
79
- deflect::Event event = _stream.getEvent ();
79
+ const deflect::Event event = _stream.getEvent ();
80
80
81
81
if ( event.type == deflect::Event::EVT_CLOSE )
82
82
return false ;
83
83
84
- if ( !interact )
84
+ if ( !_stream. isRegisteredForEvents () || ! interact )
85
85
continue ;
86
86
87
87
switch ( event.type )
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ Changelog {#Changelog}
5
5
6
6
### 0.11.0 (git master)
7
7
8
+ * [ 111] ( https://github.com/BlueBrain/Deflect/pull/111 ) :
9
+ DesktopStreamer: bugfix; stop streaming when the server closes the stream
10
+ and the "remote control" option was not enabled.
8
11
* [ 110] ( https://github.com/BlueBrain/Deflect/pull/110 ) :
9
12
DesktopStreamer: Support for streaming multiple windows on OSX disabled by
10
13
default, can be enabled with cmake -DDESKTOPSTREAMER_ENABLE_MULTIWINDOW=ON.
You can’t perform that action at this time.
0 commit comments