Skip to content

Commit c2f31d6

Browse files
committedOct 23, 2020
Fix tom-englert#3: Calling CloseSplashScreen has no effect when called before the splash screen is shown
1 parent 984d9cb commit c2f31d6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎SplashScreen/SplashScreenAdapter.cs

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ public class SplashScreenAdapter
3535

3636
internal SplashScreenAdapter(string splashBitmapResourceName, double minimumVisibilityDuration, double fadeoutDuration)
3737
{
38+
if (_splashScreenCloseRequested)
39+
return;
40+
3841
_minimumVisibilityDuration = minimumVisibilityDuration;
3942
_fadeoutDuration = fadeoutDuration;
4043

0 commit comments

Comments
 (0)
Please sign in to comment.