File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: a9db0c9efe75e6adc180d1f167326e072b82792c
5
+ refs/heads/try: e02057c5a58bd5498c59bbe769bfd327721f4c8d
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
Original file line number Diff line number Diff line change @@ -269,9 +269,10 @@ crust fn high_level_wake_up_cb(async_handle: *ll::uv_async_t,
269
269
crust fn tear_down_close_cb ( handle: * ll:: uv_async_t) unsafe {
270
270
log ( debug, #fmt ( "tear_down_close_cb called, closing handle at %?" ,
271
271
handle) ) ;
272
- // TODO: iterate through open handles on the loop and uv_close()
273
- // them all
274
- //let data = ll::get_data_for_uv_handle(handle) as *global_loop_data;
272
+ let data = ll:: get_data_for_uv_handle ( handle) as * global_loop_data ;
273
+ if vec:: len ( ( * data) . refd_handles ) > 0 {
274
+ fail "Didn't unref all high-level handles" ;
275
+ }
275
276
}
276
277
277
278
fn high_level_tear_down ( data : * global_loop_data ) unsafe {
You can’t perform that action at this time.
0 commit comments