mirror of https://github.com/status-im/op-geth.git
Initialization of Qt should happen before anything else
This commit is contained in:
parent
214721ca01
commit
52ddf044ae
|
@ -10,10 +10,11 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
// Leave QT on top at ALL times.
|
||||||
|
|
||||||
qml.Init(nil)
|
qml.Init(nil)
|
||||||
|
|
||||||
|
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||||
|
|
||||||
var interrupted = false
|
var interrupted = false
|
||||||
utils.RegisterInterrupt(func(os.Signal) {
|
utils.RegisterInterrupt(func(os.Signal) {
|
||||||
interrupted = true
|
interrupted = true
|
||||||
|
|
Loading…
Reference in New Issue