removed unnecessary time gap prone to bug

This commit is contained in:
2026-03-07 18:13:05 +01:00
parent 0e6caa136e
commit 24e42f1d0b
2 changed files with 1 additions and 13 deletions

View File

@@ -32,18 +32,6 @@ public class WhiteboardManager
_whiteboards.TryRemove(whiteboardId, out _);
}
public async Task RefreshWhiteboard(Guid whiteboardId)
{
var whiteboard = GetWhiteboard(whiteboardId);
if (whiteboard is not null)
{
RemoveWhiteboard(whiteboardId);
}
await LoadWhiteboard(whiteboardId);
}
public Whiteboard? GetWhiteboard(Guid whiteboardId)
{
return _whiteboards.GetValueOrDefault(whiteboardId);