Skip to content

Commit

Permalink
UnturnedBuiltinCommand switch to pool after exec
Browse files Browse the repository at this point in the history
  • Loading branch information
rube200 committed Mar 4, 2024
1 parent ff4e57a commit 94ae0ec
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ protected override async UniTask OnExecuteAsync()
await UniTask.SwitchToMainThread();
var argsLine = string.Join(" ", Context.Parameters);
cmd.check(id, m_CommandRegistration.Name, argsLine);
await UniTask.SwitchToThreadPool();
}
}
}

0 comments on commit 94ae0ec

Please sign in to comment.