-t rooms cleanup.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4108 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@ -441,15 +441,26 @@ void tf_ssb_test_rooms(const tf_test_options_t* options)
|
||||
|
||||
printf("Done.\n");
|
||||
|
||||
uv_run(&loop, UV_RUN_NOWAIT);
|
||||
|
||||
tf_ssb_connection_close(tun0);
|
||||
tf_ssb_send_close(ssb0);
|
||||
tf_ssb_send_close(ssb1);
|
||||
tf_ssb_send_close(ssb2);
|
||||
|
||||
uv_run(&loop, UV_RUN_NOWAIT);
|
||||
|
||||
uv_close((uv_handle_t*)&idle0, NULL);
|
||||
uv_close((uv_handle_t*)&idle1, NULL);
|
||||
uv_close((uv_handle_t*)&idle2, NULL);
|
||||
|
||||
tf_ssb_send_close(ssb0);
|
||||
tf_ssb_send_close(ssb1);
|
||||
tf_ssb_send_close(ssb2);
|
||||
|
||||
tf_ssb_close_all(ssb0);
|
||||
tf_ssb_close_all(ssb1);
|
||||
tf_ssb_close_all(ssb2);
|
||||
|
||||
uv_run(&loop, UV_RUN_DEFAULT);
|
||||
|
||||
tf_ssb_destroy(ssb0);
|
||||
tf_ssb_destroy(ssb1);
|
||||
tf_ssb_destroy(ssb2);
|
||||
|
Reference in New Issue
Block a user