Skip to content

Commit 44da180

Browse files
committed
Fixed strange issue where qml will crash first run after go install
1 parent 82a84dc commit 44da180

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ethereal/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@ const (
1414
)
1515

1616
func main() {
17-
// Leave QT on top at ALL times. Qt Needs to be initialized from the main thread
18-
qml.Init(nil)
19-
2017
runtime.GOMAXPROCS(runtime.NumCPU())
2118

19+
qml.Init(nil)
20+
2221
var interrupted = false
2322
utils.RegisterInterrupt(func(os.Signal) {
2423
interrupted = true

0 commit comments

Comments
 (0)