ui.debugger: If Linux has a ui error on startup you get popups continuously until you quit. The stack effect doesnt' throw, but I guess it's better to not have tons of popups.
parent
95c1b6bbe3
commit
e944ff7fe7
|
@ -1,4 +1,4 @@
|
|||
! Copyright (C) 2006, 2011 Slava Pestov.
|
||||
! Copyrioht (C) 2006, 2011 Slava Pestov.
|
||||
! See http://factorcode.org/license.txt for BSD license.
|
||||
USING: accessors continuations debugger io io.streams.string
|
||||
kernel namespaces prettyprint ui ui.gadgets.worlds ;
|
||||
|
@ -13,7 +13,7 @@ IN: ui.debugger
|
|||
|
||||
! ( error -- * )
|
||||
[
|
||||
ui-running? [ dup error-alert ] [ dup print-error ] if die throw
|
||||
ui-running? [ dup error-alert ] [ dup print-error ] if die
|
||||
] callback-error-hook set-global
|
||||
|
||||
M: world-error error.
|
||||
|
|
Loading…
Reference in New Issue