Shorten streaming example.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f1cc8cfb2d
commit
9bc1be8481
|
@ -76,8 +76,7 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
// Cancel the stream, …
|
// Cancel the stream, …
|
||||||
connection.cancel_stream();
|
connection.cancel_stream();
|
||||||
// … and get the rest of the data.
|
// … and wait for the thread.
|
||||||
cout << connection.get_new_stream_contents() << endl;
|
|
||||||
stream_thread.join();
|
stream_thread.join();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue