Skip to content

Commit 31ffe22

Browse files
committed
Only call RegisterGlobalTraceStores() if we're not readonly.
1 parent 556a441 commit 31ffe22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TraceStore/TraceStores.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ Return Value:
419419
}
420420
}
421421

422-
if (!TraceFlags->NoGlobalRundown) {
422+
if (!Readonly && !TraceFlags->NoGlobalRundown) {
423423
Success = RegisterGlobalTraceStores(TraceStores);
424424
}
425425

0 commit comments

Comments
 (0)