fix: clean up pop-out window when auto-tell tab is LRU-dropped

This commit is contained in:
2026-05-03 16:04:57 +02:00
parent ccf2ec9f12
commit f207239d56
2 changed files with 21 additions and 0 deletions
+5
View File
@@ -22,6 +22,11 @@ internal class Popout : Window
public ChatInputBar? InputBar { get; private set; }
public bool HasFocusedInputBar => InputBar?.IsFocused ?? false;
// Hellion Chat — v0.6.1 expose just the tab identifier (not the whole Tab
// reference) so AutoTellTabsService.DropOldestTempTab can locate the
// matching pop-out window when an LRU temp tab gets evicted.
internal Guid TabIdentifier => Tab.Identifier;
public Popout(ChatLogWindow chatLogWindow, Tab tab, int idx) : base($"{tab.Name}##popout")
{
ChatLogWindow = chatLogWindow;