diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-08-11 18:54:23 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-08-19 20:39:39 -0700 |
| commit | 0f9ab936423cfc427ff30e87efc7ca794fec8bcf (patch) | |
| tree | 01a0efa5b80b7440f4eca606e506ea197687a9ab /src/libstd/cleanup.rs | |
| parent | 2ec9b8ce2f08dd9b931bd084f83fd3a4d0c3e8c7 (diff) | |
| download | rust-0f9ab936423cfc427ff30e87efc7ca794fec8bcf.tar.gz rust-0f9ab936423cfc427ff30e87efc7ca794fec8bcf.zip | |
std: Restore dynamic borrow tracking
Diffstat (limited to 'src/libstd/cleanup.rs')
| -rw-r--r-- | src/libstd/cleanup.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/cleanup.rs b/src/libstd/cleanup.rs index 7c2348a3533..6a6ba12bae3 100644 --- a/src/libstd/cleanup.rs +++ b/src/libstd/cleanup.rs @@ -71,7 +71,6 @@ pub unsafe fn annihilate() { use io::WriterUtil; use io; use libc; - use rt::borrowck; use sys; use managed; @@ -81,10 +80,6 @@ pub unsafe fn annihilate() { n_bytes_freed: 0 }; - // Quick hack: we need to free this list upon task exit, and this - // is a convenient place to do it. - borrowck::clear_task_borrow_list(); - // Pass 1: Make all boxes immortal. // // In this pass, nothing gets freed, so it does not matter whether |
