Skip to content

Commit 938b97b

Browse files
Merge pull request #38 from Countly/sdk-657
[SDK 657] thread null pointer issue fixed!
2 parents c108da5 + 3850ff5 commit 938b97b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/countly.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ void Countly::stop() {
242242
log(Countly::LogLevel::WARNING, "Could not join thread");
243243
}
244244
delete thread;
245+
thread = nullptr;
245246
}
246247
if (began_session) {
247248
endSession();

0 commit comments

Comments
 (0)