diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-03-06 15:31:21 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-03-06 17:14:40 -0800 |
| commit | dc0b9f44e2731dec413d69997ad093962deb665e (patch) | |
| tree | d8d676fe83f2eaf241bb9ca291d388b10fb5c019 /src/rt/rust_builtin.cpp | |
| parent | e9571850daded0f46ae3b9b8e0834b6be2e5219b (diff) | |
| download | rust-dc0b9f44e2731dec413d69997ad093962deb665e.tar.gz rust-dc0b9f44e2731dec413d69997ad093962deb665e.zip | |
rt: Change the rust_port refcounting scheme to avoid races
Hopefully...
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 14b18a99252..9f2bb2d4652 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -497,7 +497,6 @@ extern "C" CDECL void del_port(rust_port *port) { rust_task *task = rust_task_thread::get_task(); LOG(task, comm, "del_port(0x%" PRIxPTR ")", (uintptr_t) port); - A(task->thread, port->get_ref_count() == 0, "Expected port ref_count == 0"); delete port; } |
