diff options
| author | Aaron Turon <aturon@mozilla.com> | 2015-01-05 21:59:45 -0800 |
|---|---|---|
| committer | Aaron Turon <aturon@mozilla.com> | 2015-01-06 14:57:52 -0800 |
| commit | caca9b2e7109a148d100a3c6851241d3815da3db (patch) | |
| tree | b49ae965c7392d0c527aba9c427d4e9e224f8750 /src/libstd/sys/common/helper_thread.rs | |
| parent | f67b81e8d4dc198ad10ad50a7624e43cc1e25802 (diff) | |
| download | rust-caca9b2e7109a148d100a3c6851241d3815da3db.tar.gz rust-caca9b2e7109a148d100a3c6851241d3815da3db.zip | |
Fallout from stabilization
Diffstat (limited to 'src/libstd/sys/common/helper_thread.rs')
| -rw-r--r-- | src/libstd/sys/common/helper_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sys/common/helper_thread.rs b/src/libstd/sys/common/helper_thread.rs index bdf1bf3dfd0..f940b6ed368 100644 --- a/src/libstd/sys/common/helper_thread.rs +++ b/src/libstd/sys/common/helper_thread.rs @@ -99,7 +99,7 @@ impl<M: Send> Helper<M> { let _g = self.lock.lock().unwrap(); *self.shutdown.get() = true; self.cond.notify_one() - }).detach(); + }); rt::at_exit(move|:| { self.shutdown() }); *self.initialized.get() = true; |
