diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-10-29 17:02:37 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-10-29 17:02:37 -0700 |
| commit | 4a318d6e0f632d1915e4475325ededb94f6eb42c (patch) | |
| tree | 2d9c4a543e77eb6e5176eaf8f2cf6272dd2acb16 /src/rt/sync/rust_thread.cpp | |
| parent | 611c94d984c1c062d6e123d986c0511443900850 (diff) | |
| download | rust-4a318d6e0f632d1915e4475325ededb94f6eb42c.tar.gz rust-4a318d6e0f632d1915e4475325ededb94f6eb42c.zip | |
rt: Remove rust_thread::detach
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
| -rw-r--r-- | src/rt/sync/rust_thread.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/rt/sync/rust_thread.cpp b/src/rt/sync/rust_thread.cpp index a78153523d2..7223d187137 100644 --- a/src/rt/sync/rust_thread.cpp +++ b/src/rt/sync/rust_thread.cpp @@ -63,12 +63,3 @@ rust_thread::join() { #endif thread = 0; } - -void -rust_thread::detach() { -#if !defined(__WIN32__) - // Don't leak pthread resources. - // http://crosstantine.blogspot.com/2010/01/pthreadcreate-memory-leak.html - CHECKED(pthread_detach(thread)); -#endif -} |
