From a96a00b5453bf5fd45d23650e89100b54f5a9d45 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 10 Jun 2016 00:57:07 +0900 Subject: [PATCH] mobile: Remove locking OS thread in some functions --- mobile/run.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mobile/run.go b/mobile/run.go index adfc961bd..7d14a7523 100644 --- a/mobile/run.go +++ b/mobile/run.go @@ -18,7 +18,6 @@ package mobile import ( "errors" - "runtime" "github.com/hajimehoshi/ebiten" "github.com/hajimehoshi/ebiten/internal/ui" @@ -65,9 +64,6 @@ func (e *eventDispatcher) SetScreenScale(scale int) { } func (e *eventDispatcher) Render() error { - runtime.LockOSThread() - defer runtime.UnlockOSThread() - if chError == nil { return errors.New("mobile: chError must not be nil: Start is not called yet?") }