ui.gadgets.worlds: deactivate world before calling the ui-error-hook
parent
32b42185e6
commit
b7727bc695
|
@ -217,8 +217,7 @@ ui-error-hook [ [ rethrow ] ] initialize
|
|||
dup [ draw-world* ] with-gl-context
|
||||
flush-layout-cache-hook get call( -- )
|
||||
] [
|
||||
over <world-error> ui-error
|
||||
f >>active? drop
|
||||
swap f >>active? <world-error> ui-error
|
||||
] recover
|
||||
] with-variable
|
||||
] [ drop ] if ;
|
||||
|
|
Loading…
Reference in New Issue