We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47a09ff commit e92ab7cCopy full SHA for e92ab7c
Analytics-CSharp/Segment/Analytics/Settings.cs
@@ -16,7 +16,7 @@ public struct Settings
16
17
public partial class Analytics
18
{
19
- internal async void Update(Settings settings) {
+ internal async Task Update(Settings settings) {
20
System systemState = await Store.CurrentState<System>();
21
HashSet<int> initializedPlugins = new HashSet<int>();
22
Timeline.Apply(plugin => {
@@ -49,7 +49,7 @@ await Scope.WithContext(NetworkIODispatcher, async () =>
49
settings = systemState._settings;
50
}
51
52
- Update(settings.Value);
+ await Update(settings.Value);
53
await Store.Dispatch<System.ToggleRunningAction, System>(new System.ToggleRunningAction(true));
54
55
0 commit comments