diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2015-01-01 10:19:42 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2015-03-20 10:56:27 -0700 |
| commit | 1cc9718fdef63476ffdf3f0bcd74b554b083f378 (patch) | |
| tree | 9ab128b25b8bd688a26897a5b8029672d737140e /src/libstd/sys/windows/timer.rs | |
| parent | 46f649c479ce40f3b4590590dda6c2895e8d60f6 (diff) | |
| download | rust-1cc9718fdef63476ffdf3f0bcd74b554b083f378.tar.gz rust-1cc9718fdef63476ffdf3f0bcd74b554b083f378.zip | |
Revert "Revert "std: Re-enable at_exit()""
This reverts commit aec67c2ee0f673ea7b0e21c2fe7e0f26a523d823.
Diffstat (limited to 'src/libstd/sys/windows/timer.rs')
| -rw-r--r-- | src/libstd/sys/windows/timer.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstd/sys/windows/timer.rs b/src/libstd/sys/windows/timer.rs index 91a7f694181..9bcae926eea 100644 --- a/src/libstd/sys/windows/timer.rs +++ b/src/libstd/sys/windows/timer.rs @@ -80,9 +80,10 @@ fn helper(input: libc::HANDLE, messages: Receiver<Req>, _: ()) { None => {} } } + // See the comment in unix::timer for why we don't have any + // asserts here and why we're likely just leaving timers on + // the floor as we exit. Err(TryRecvError::Disconnected) => { - assert_eq!(objs.len(), 1); - assert_eq!(chans.len(), 0); break 'outer; } Err(..) => break |
