Skip to content

Commit 502cf97

Browse files
committed
Fix server thread not being registered correctly in Optick
1 parent c1c7503 commit 502cf97

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎BG3Extender/Extender/Server/ScriptExtenderServer.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void ScriptExtender::OnGameStateChanged(GameState fromState, GameState toState)
108108

109109
if (fromState != GameState::Unknown) {
110110
BindToThreadPersistent();
111-
OPTICK_THREAD("Server");
111+
Optick::RegisterThread("Server");
112112
}
113113

114114
switch (fromState) {

0 commit comments

Comments
 (0)