Skip to content

Commit b0efb36

Browse files
committed
Speedup workspace switch. normalizeLayoutReason is too heavy to await in lightweight runSession
normalizeLayoutReason is called in runRefreshSessionBlocking anyway #218
1 parent 7df2692 commit b0efb36

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/AppBundle/layout/refresh.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ func runSession<T>(
7575
}
7676

7777
updateTrayText()
78-
try await normalizeLayoutReason()
7978
try await layoutWorkspaces()
8079
runRefreshSession(event, screenIsDefinitelyUnlocked: false)
8180
return result

0 commit comments

Comments
 (0)