All() and Get() were looking at root.Children() (mounted child trees) but sessions are stored in rootState.sessions. They were never mounted as children, so All() always returned empty — breaking D-Bus ListSessions and WatchExisting, causing the KDE GUI to see no restored sessions. |
||
|---|---|---|
| .. | ||
| create.go | ||
| files.go | ||
| format.go | ||
| persist.go | ||
| root.go | ||
| session.go | ||
| types.go | ||