Skip to content

Commit 3da2838

Browse files
author
Stewart Miles
committed
Display clean up window after database refresh is complete.
If the Version Handler's clean up files window is shown before asset database refresh is complete, the window can end up in a state where it's not redrawn correctly and doesn't function. This change makes sure the window is only shown when asset database refresh and compilation is complete. Bug: 150886091 Change-Id: Ic9b3fa53b488159443162834bf20f8a045c3c4f8
1 parent 0bb7856 commit 3da2838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/VersionHandlerImpl/src/VersionHandlerImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2123,7 +2123,7 @@ public static void UpdateVersionedAssets(bool forceUpdate, Action complete) {
21232123
}
21242124
}
21252125

2126-
if (cleanupFiles.Count > 0) {
2126+
if (cleanupFiles.Count > 0 && !Refreshing) {
21272127
var window = MultiSelectWindow.CreateMultiSelectWindow(PLUGIN_NAME);
21282128
Action<string> logObsoleteFile = (filename) => {
21292129
Log("Leaving obsolete file: " + filename, verbose: true);

0 commit comments

Comments
 (0)