Skip to content
Snippets Groups Projects
Commit 67bb9701 authored by BenceJanosSzabo's avatar BenceJanosSzabo
Browse files

Fixed usage thread segfault


Change-Id: I8c8da1caeb33b0dbd03092ccff8ecaf2eedb9868
Signed-off-by: default avatarBenceJanosSzabo <bence.janos.szabo@ericsson.com>
parent e91f364b
No related branches found
No related tags found
No related merge requests found
......@@ -207,7 +207,6 @@ pthread_t UsageData::sendDataThreaded(std::string msg, thread_data* data) {
void* UsageData::sendData(void* m) {
// make sure the thread is cancelable if the main thread finishes first
pthread_setcancelstate(PTHREAD_CANCEL_ENABLE, NULL);
pthread_setcanceltype(PTHREAD_CANCEL_ASYNCHRONOUS, NULL);
thread_data* my_data;
my_data = (thread_data*)m;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment