[PATCH] make "close" on viewport synchronous

3 views
Skip to first unread message

Qian Yun

unread,
May 2, 2026, 10:47:47 PM (7 days ago) May 2
to fricas-devel
Currently, when doing "close" on a viewport, it simply
send a number (via socket) to the viewman process,
then return to the Spad REPL immediately, while the
view2D/view3D process is being closed asynchronously.

Thus causes the ugly hack "|waitForViewport|".

We can avoid this by making "close" synchronous:
now the "close" function wait for confirmation of
exit of view2D/view3D and resources cleanup.

- Qian
make-close-viewport-synchronize.patch
Reply all
Reply to author
Forward
0 new messages