File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 1
- /*
1
+ /*
2
2
* Copyright 2019-2020, 2022-2023 Optimizely
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
25
25
namespace OptimizelySDK . Config
26
26
{
27
27
/// <summary>
28
- /// Abstract class that implements ProjectConfigManager interface and provides
28
+ /// Abstract class that implements ProjectConfigManager interface and provides
29
29
/// basic scheduling and caching.
30
30
/// Instances of this class, must implement the <see cref="Poll()"/> method
31
31
/// which is responsible for fetching a given ProjectConfig.
@@ -181,11 +181,10 @@ public bool SetConfig(ProjectConfig projectConfig)
181
181
CurrentProjectConfig = projectConfig ;
182
182
SetOptimizelyConfig ( CurrentProjectConfig ) ;
183
183
184
- // SetResult raise exception if called again, that's why Try is used.
185
- CompletableConfigManager . TrySetResult ( true ) ;
186
-
187
184
NotifyOnProjectConfigUpdate ? . Invoke ( ) ;
188
185
186
+ // SetResult raise exception if called again, that's why Try is used.
187
+ CompletableConfigManager . TrySetResult ( true ) ;
189
188
190
189
return true ;
191
190
}
You can’t perform that action at this time.
0 commit comments