Skip to content

Commit

Permalink
[CP-585] Cancel thread, when PushService object is destroyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
cschnei committed Nov 6, 2017
1 parent 6008372 commit f47202a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/srdevicepush.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class SrDevicePush

virtual ~SrDevicePush()
{
pthread_cancel(tid);
}

/**
Expand Down

0 comments on commit f47202a

Please sign in to comment.