Shorten streaming example.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-01-09 19:05:37 +01:00
parent f1cc8cfb2d
commit 9bc1be8481
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 1 additions and 2 deletions

View File

@ -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