Shorten streaming example.
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@ -76,8 +76,7 @@ int main(int argc, char *argv[])
// Cancel the stream, …
connection.cancel_stream();
// … and get the rest of the data.
cout << connection.get_new_stream_contents() << endl;
// … and wait for the thread.
stream_thread.join();
}
else