Skip to content

Commit d655c94

Browse files
authored
REVIT-251132 (#3415)
* forcefully close splash screen when closing Dynamo if during play of journal and it was still opened. --------- Co-authored-by: Vlad Catalina <vlad.catalina@autodesk.com>
1 parent c08f2eb commit d655c94

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/DynamoRevit/DynamoRevit.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,6 +1114,13 @@ private static void OnDynamoViewClosed(object sender, EventArgs e)
11141114

11151115
// Once Dynamo is closed, we want to set the current UI culture back to the default thread culture.
11161116
System.Globalization.CultureInfo.CurrentUICulture = System.Globalization.CultureInfo.DefaultThreadCurrentCulture;
1117+
1118+
// REVIT-251132: forcefully close splash screen when closing Dynamo if during journal play and if it wasn't already closed
1119+
if (Journaling.IsJournalReplaying() && splashScreen != null)
1120+
{
1121+
splashScreen.Close();
1122+
splashScreen = null;
1123+
}
11171124
}
11181125

11191126
/// <summary>

0 commit comments

Comments
 (0)