mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-15 00:13:43 +00:00
interp: run goroutine starts and checks at runtime
This change prevents interp from trying to execute goroutine starts or checks. This fixes a bug where a goroutine started by an init function would run before the init function.
This commit is contained in:
Vendored
+2
@@ -1,3 +1,5 @@
|
||||
init
|
||||
goroutine in init
|
||||
main 1
|
||||
sub 1
|
||||
main 2
|
||||
|
||||
Reference in New Issue
Block a user