From e944ff7fe7e2d5e5a4076f37d4dab4653fc494d9 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Sat, 2 Apr 2016 01:56:48 -0700 Subject: [PATCH] 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. --- basis/ui/debugger/debugger.factor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basis/ui/debugger/debugger.factor b/basis/ui/debugger/debugger.factor index d260f184be..443509a038 100644 --- a/basis/ui/debugger/debugger.factor +++ b/basis/ui/debugger/debugger.factor @@ -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.