mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-02-26 15:47:21 +00:00
Fixed strange issue where qml will crash first run after go install
This commit is contained in:
parent
82a84dca80
commit
44da1801d8
1 changed files with 2 additions and 3 deletions
|
|
@ -14,11 +14,10 @@ const (
|
|||
)
|
||||
|
||||
func main() {
|
||||
// Leave QT on top at ALL times. Qt Needs to be initialized from the main thread
|
||||
qml.Init(nil)
|
||||
|
||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
||||
|
||||
qml.Init(nil)
|
||||
|
||||
var interrupted = false
|
||||
utils.RegisterInterrupt(func(os.Signal) {
|
||||
interrupted = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue