Remove calling runtime.LockOSThread (now blocks can be built with gopherjs)

This commit is contained in:
Hajime Hoshi 2015-01-02 15:37:36 +09:00
parent cadb3fffdf
commit e9527df0f5

View File

@ -20,14 +20,9 @@ import (
"github.com/hajimehoshi/ebiten/example/blocks/blocks" "github.com/hajimehoshi/ebiten/example/blocks/blocks"
"log" "log"
"os" "os"
"runtime"
"runtime/pprof" "runtime/pprof"
) )
func init() {
runtime.LockOSThread()
}
var cpuProfile = flag.String("cpuprofile", "", "write cpu profile to file") var cpuProfile = flag.String("cpuprofile", "", "write cpu profile to file")
func main() { func main() {