diff options
Diffstat (limited to 'src/rt/rust_dom.cpp')
| -rw-r--r-- | src/rt/rust_dom.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/rt/rust_dom.cpp b/src/rt/rust_dom.cpp index 362c215e..99aaddb2 100644 --- a/src/rt/rust_dom.cpp +++ b/src/rt/rust_dom.cpp @@ -414,8 +414,13 @@ rust_dom::start_main_loop() "waiting for %d dead tasks to become dereferenced ...", dead_tasks.length()); - log(rust_log::DOM, - "waiting for %" PRIxPTR, dead_tasks[0]); + if (_log.is_tracing(rust_log::DOM)) { + for (size_t i = 0; i < dead_tasks.length(); i++) { + log(rust_log::DOM, + "task: 0x%" PRIxPTR ", index: %d, ref_count: %d", + dead_tasks[i], i, dead_tasks[i]->ref_count); + } + } if (_incoming_message_queue.is_empty()) { _incoming_message_pending.wait(); |