style(autotell): csharpier format F2.1 changes
This commit is contained in:
@@ -50,10 +50,7 @@ internal sealed class AutoTellTabsService : IDisposable
|
|||||||
// contains TempTabs from a prior session starts in sync. Plugin.cs:168
|
// contains TempTabs from a prior session starts in sync. Plugin.cs:168
|
||||||
// crash-recovery has already dropped TempTabs by the time we get here,
|
// crash-recovery has already dropped TempTabs by the time we get here,
|
||||||
// so the snapshot reflects post-recovery reality.
|
// so the snapshot reflects post-recovery reality.
|
||||||
Interlocked.Exchange(
|
Interlocked.Exchange(ref _activeTempTabCount, Plugin.Config.Tabs.Count(t => t.IsTempTab));
|
||||||
ref _activeTempTabCount,
|
|
||||||
Plugin.Config.Tabs.Count(t => t.IsTempTab)
|
|
||||||
);
|
|
||||||
|
|
||||||
_messageManager.MessageProcessed += HandleTell;
|
_messageManager.MessageProcessed += HandleTell;
|
||||||
Plugin.ClientState.Logout += OnLogout;
|
Plugin.ClientState.Logout += OnLogout;
|
||||||
@@ -65,10 +62,7 @@ internal sealed class AutoTellTabsService : IDisposable
|
|||||||
// live IsTempTab count.
|
// live IsTempTab count.
|
||||||
internal void ResyncTempTabCounter()
|
internal void ResyncTempTabCounter()
|
||||||
{
|
{
|
||||||
Interlocked.Exchange(
|
Interlocked.Exchange(ref _activeTempTabCount, Plugin.Config.Tabs.Count(t => t.IsTempTab));
|
||||||
ref _activeTempTabCount,
|
|
||||||
Plugin.Config.Tabs.Count(t => t.IsTempTab)
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Dispose()
|
public void Dispose()
|
||||||
|
|||||||
Reference in New Issue
Block a user