mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-12 07:29:30 +00:00
runtime: implement SetFinalizer to fix syscall/js finalizeRef leak
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
//go:build (gc.conservative || gc.precise) && scheduler.none
|
||||
|
||||
package runtime
|
||||
|
||||
// scheduler.none has no goroutines; finalizers drain inline in wakeFinalizer.
|
||||
func spawnFinalizerRunner() {}
|
||||
Reference in New Issue
Block a user