From e9527df0f504ebf6f87608cb55f1c7a9e30eeeaf Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Fri, 2 Jan 2015 15:37:36 +0900 Subject: [PATCH] Remove calling runtime.LockOSThread (now blocks can be built with gopherjs) --- example/blocks/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/example/blocks/main.go b/example/blocks/main.go index 13b8f7cee..048ae7353 100644 --- a/example/blocks/main.go +++ b/example/blocks/main.go @@ -20,14 +20,9 @@ import ( "github.com/hajimehoshi/ebiten/example/blocks/blocks" "log" "os" - "runtime" "runtime/pprof" ) -func init() { - runtime.LockOSThread() -} - var cpuProfile = flag.String("cpuprofile", "", "write cpu profile to file") func main() {