diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-02-08 20:52:52 -0800 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-02-09 19:00:15 -0800 |
| commit | 0667fb4e6342a6a18320b464316ae7ba9c2bc192 (patch) | |
| tree | befae4b91f28e7ad1343adb9df1ca169b5ac02ea /src/rt/rust_task_thread.cpp | |
| parent | ae8ea4a78b113f67ade93152dc3dee1ded81a219 (diff) | |
| download | rust-0667fb4e6342a6a18320b464316ae7ba9c2bc192.tar.gz rust-0667fb4e6342a6a18320b464316ae7ba9c2bc192.zip | |
rt: Make rust_task::ref_count private
Diffstat (limited to 'src/rt/rust_task_thread.cpp')
| -rw-r--r-- | src/rt/rust_task_thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rt/rust_task_thread.cpp b/src/rt/rust_task_thread.cpp index 4830e1254d5..41242fee9d3 100644 --- a/src/rt/rust_task_thread.cpp +++ b/src/rt/rust_task_thread.cpp @@ -149,7 +149,7 @@ rust_task_thread::reap_dead_tasks() { void rust_task_thread::release_task(rust_task *task) { // Nobody should have a ref to the task at this point - I(this, task->ref_count == 0); + I(this, task->get_ref_count() == 0); // Kernel should not know about the task any more I(this, kernel->get_task_by_id(task->id) == NULL); // Now delete the task, which will require using this thread's |
