diff --git a/server/TracyView.cpp b/server/TracyView.cpp index a363dee8..25d4da37 100644 --- a/server/TracyView.cpp +++ b/server/TracyView.cpp @@ -2249,7 +2249,7 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos, } break; } - if( (*next)->waitList != (*vbegin)->waitList ) + if( (*next)->waitList != (*vbegin)->waitList || (*next)->lockCount != (*vbegin)->lockCount ) { break; }