Some bits work \o/

This commit is contained in:
Nadja Reitzenstein
2022-06-21 22:48:12 +02:00
parent 287ca9806d
commit aef36fa3d4
2 changed files with 13 additions and 14 deletions

View File

@ -252,7 +252,7 @@ where
{
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest {
let dropped = match (metadata.name(), metadata.target()) {
(_, "executor::spawn") => {
(_, "executor::task") | ("runtime.spawn", _) => {
self.spawn_callsites.insert(metadata);
&self.shared.dropped_tasks
}