mirror of
https://codeberg.org/cage/tinmop/
synced 2025-03-13 11:30:04 +01:00
- [GUI] moved refreshing stream table before starting streaming, to prevent a race condition.
This commit is contained in:
parent
8d2553c4ec
commit
0a64d51a5d
@ -1170,13 +1170,13 @@ local file paths."
|
||||
((or (gemini-parser:gemini-iri-p actual-iri)
|
||||
needs-proxy)
|
||||
(let ((stream-frame (stream-frame main-window)))
|
||||
(client-stream-frame::refresh-all-streams
|
||||
(client-stream-frame::table stream-frame))
|
||||
(start-stream-iri (iri-ensure-path actual-iri)
|
||||
main-window
|
||||
use-cache
|
||||
:ignore-certificate-expiration nil
|
||||
:status status)
|
||||
(client-stream-frame::refresh-all-streams
|
||||
(client-stream-frame::table stream-frame))))
|
||||
:status status)))
|
||||
((iri:absolute-url-p iri)
|
||||
(client-os-utils:open-resource-with-external-program main-window iri))
|
||||
((or (fs:file-exists-p actual-iri)
|
||||
@ -2103,7 +2103,7 @@ local file paths."
|
||||
:exclusive t))
|
||||
|
||||
(defun init-main-window (starting-iri)
|
||||
(setf gui:*debug-tk* t)
|
||||
(setf gui:*debug-tk* nil)
|
||||
(gui:with-nodgui (:title +program-name+ :debugger-class 'gui:graphical-condition-handler)
|
||||
(icons:load-icons)
|
||||
(setf gui-goodies:*toplevel* gui:*tk*)
|
||||
|
Loading…
x
Reference in New Issue
Block a user