diff options
Diffstat (limited to 'src/runtime/scheduler.go')
-rw-r--r-- | src/runtime/scheduler.go | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/runtime/scheduler.go b/src/runtime/scheduler.go index d84ccf3e0..727c7f5f2 100644 --- a/src/runtime/scheduler.go +++ b/src/runtime/scheduler.go @@ -28,11 +28,6 @@ func scheduleLogChan(msg string, ch *channel, t *task.Task) { } // Goexit terminates the currently running goroutine. No other goroutines are affected. -// -// Unlike the main Go implementation, no deferred calls will be run. -// -//go:inline func Goexit() { - // TODO: run deferred functions - deadlock() + panicOrGoexit(nil, panicGoexit) } |