File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1931,7 +1931,6 @@ ctrl_thread__launch_and_init(CTRL_Msg *msg)
1931
1931
{
1932
1932
ProfBeginFunction ();
1933
1933
Temp scratch = scratch_begin (0 , 0 );
1934
- DBGI_Scope * scope = dbgi_scope_open ();
1935
1934
1936
1935
//- rjf: launch
1937
1936
OS_LaunchOptions opts = {0 };
@@ -2016,6 +2015,8 @@ ctrl_thread__launch_and_init(CTRL_Msg *msg)
2016
2015
// rjf: done with handshake -> ready to find entry point. search launched processes
2017
2016
case DEMON_EventKind_HandshakeComplete :
2018
2017
{
2018
+ DBGI_Scope * scope = dbgi_scope_open ();
2019
+
2019
2020
// rjf: find entry point vaddr
2020
2021
for (U64 process_idx = 0 ; process_idx < run_ctrls .run_entity_count ; process_idx += 1 )
2021
2022
{
@@ -2187,6 +2188,8 @@ ctrl_thread__launch_and_init(CTRL_Msg *msg)
2187
2188
stop_event = event ;
2188
2189
}
2189
2190
}
2191
+
2192
+ dbgi_scope_close (scope );
2190
2193
}break ;
2191
2194
}
2192
2195
}
@@ -2232,7 +2235,6 @@ ctrl_thread__launch_and_init(CTRL_Msg *msg)
2232
2235
ctrl_c2u_push_events (& evts );
2233
2236
}
2234
2237
2235
- dbgi_scope_close (scope );
2236
2238
scratch_end (scratch );
2237
2239
ProfEnd ();
2238
2240
}
You can’t perform that action at this time.
0 commit comments