Skip to content

Commit

Permalink
github issue ROCm#71 fix
Browse files Browse the repository at this point in the history
         callback_data_ is not cleared in RemoveCallbacks
         fixed it
  • Loading branch information
kikimych committed Feb 21, 2022
1 parent e140f47 commit 6268b38
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/intercept_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,7 @@ class InterceptQueue {
static void RemoveCallbacks() {
std::lock_guard<mutex_t> lck(mutex_);
callbacks_ = {};
callback_data_ = NULL;
Stop();
}

Expand Down

0 comments on commit 6268b38

Please sign in to comment.