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.

locals-and-roots
Doug Coleman 2016-04-02 01:56:48 -07:00
parent 95c1b6bbe3
commit e944ff7fe7
1 changed files with 2 additions and 2 deletions

View File

@ -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.