diff options
| author | Eric Holk <eholk@mozilla.com> | 2011-08-06 10:07:39 -0700 |
|---|---|---|
| committer | Eric Holk <eholk@mozilla.com> | 2011-08-08 08:57:52 -0700 |
| commit | d9b84a546cf7968ef7a9e3558c2f0c3d88ba033c (patch) | |
| tree | a39833fd65311704db8a53971d8d3072a6f6410b /src/rt/rust_builtin.cpp | |
| parent | 86babab2fe92223511042e9cb4b233841cffa054 (diff) | |
| download | rust-d9b84a546cf7968ef7a9e3558c2f0c3d88ba033c.tar.gz rust-d9b84a546cf7968ef7a9e3558c2f0c3d88ba033c.zip | |
Converted the rest of the task-comm-* tests over. Also fixed some
channel lifecycle bugs.
Diffstat (limited to 'src/rt/rust_builtin.cpp')
| -rw-r--r-- | src/rt/rust_builtin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_builtin.cpp b/src/rt/rust_builtin.cpp index 1b6ad431cab..862373e07dd 100644 --- a/src/rt/rust_builtin.cpp +++ b/src/rt/rust_builtin.cpp @@ -901,7 +901,7 @@ new_chan(rust_task *task, rust_port *port) { extern "C" CDECL void del_chan(rust_task *task, rust_chan *chan) { LOG(task, comm, "del_chan(0x%" PRIxPTR ")", (uintptr_t) chan); - chan->destroy(); + I(task->sched, false); } extern "C" CDECL |
