Skip to content

Commit 0cd5f64

Browse files
Constructor-initialize some values in RuntimeThreadData
1 parent 4457eec commit 0cd5f64

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

bin/ch/RuntimeThreadData.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ RuntimeThreadData::RuntimeThreadData()
2525
this->hevntInitialScriptCompleted = CreateEvent(NULL, TRUE, FALSE, NULL);
2626
this->hevntReceivedBroadcast = CreateEvent(NULL, FALSE, FALSE, NULL);
2727
this->hevntShutdown = CreateEvent(NULL, TRUE, FALSE, NULL);
28+
this->hSemaphore = nullptr;
29+
this->hThread = nullptr;
2830

2931
this->sharedContent = nullptr;
3032
this->receiveBroadcastCallbackFunc = nullptr;
3133

34+
this->runtime = nullptr;
35+
this->context = nullptr;
36+
37+
this->parent = nullptr;
38+
3239
this->leaving = false;
3340

3441
InitializeCriticalSection(&csReportQ);

0 commit comments

Comments
 (0)