From e46ac3f6c2709d65a165124a95d0dc3b5392842d Mon Sep 17 00:00:00 2001 From: Alexander Ilin Date: Fri, 18 Aug 2023 01:51:04 +0200 Subject: [PATCH] listener-docs: warn against using handle-ctrl-break --- basis/listener/listener-docs.factor | 1 + 1 file changed, 1 insertion(+) diff --git a/basis/listener/listener-docs.factor b/basis/listener/listener-docs.factor index 4aef0c6b2c..e21df4f90f 100644 --- a/basis/listener/listener-docs.factor +++ b/basis/listener/listener-docs.factor @@ -85,6 +85,7 @@ HELP: handle-ctrl-break { $description "If this variable is " { $link t } ", the listener will wrap the user code with calls to " { $link enable-ctrl-break } " and " { $link disable-ctrl-break } " to make it interruptible with C-Break. This includes both compilation and execution phases, so circular vocab import can be interrupted as well as infinite loops." $nl "This only works on Windows, and has no effect on other platforms." +{ $warning "There were reports that after enabling this feature the Factor process may hang randomly, see " { $url "https://github.com/factor/factor/issues/2037" } "." } { $warning "If user code " { $link yield } "s or gets stuck on an asynchronous I/O operation, pressing C-Break will most likely crash the Factor VM." } } ; ABOUT: "listener" -- 2.34.1