Skip to content

Commit e1300fe

Browse files
authored
do not free method name (#79608)
1 parent 76e6309 commit e1300fe

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/mono/wasm/runtime/profiler.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ export function mono_wasm_profiler_leave(method: MonoMethod): void {
9393
const chars = cwraps.mono_wasm_method_get_name(method);
9494
methodName = Module.UTF8ToString(chars);
9595
methodNames.set(method as any, methodName);
96-
Module._free(chars as any);
9796
}
9897
globalThis.performance.measure(methodName, options);
9998
}

0 commit comments

Comments
 (0)