Release 3.8.2.11: idle rev-cache, port-safe Connect, single-instance tray UX.
Faster unchanged polls; orphan-core cleanup on listen ports; clearer busy-port errors; cores only from binDir; incremental server list; CSP without Google Fonts; single-instance activates existing window; close-to-tray without kill-others or balloon. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -47,9 +47,13 @@ func (b *eventBroker) publish(payload []byte) {
|
||||
}
|
||||
}
|
||||
|
||||
// NotifyState pushes a small SSE payload so the UI can refresh immediately.
|
||||
// NotifyState invalidates the idle rev cache and pushes a small SSE payload.
|
||||
func (a *App) NotifyState(kind string) {
|
||||
if a == nil || a.events == nil {
|
||||
if a == nil {
|
||||
return
|
||||
}
|
||||
a.invalidateRevCache()
|
||||
if a.events == nil {
|
||||
return
|
||||
}
|
||||
if kind == "" {
|
||||
|
||||
Reference in New Issue
Block a user