mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Fix crash on unended lock highlight.
This commit is contained in:
parent
db48cd6c1f
commit
3163563a27
@ -2320,8 +2320,8 @@ int View::DrawLocks( uint64_t tid, bool hover, double pxns, const ImVec2& wpos,
|
|||||||
if( !highlight.blocked )
|
if( !highlight.blocked )
|
||||||
{
|
{
|
||||||
highlight.id = v.first;
|
highlight.id = v.first;
|
||||||
highlight.begin = (*vbegin)->time;
|
highlight.begin = t0;
|
||||||
highlight.end = (*next)->time;
|
highlight.end = t1;
|
||||||
highlight.thread = thread;
|
highlight.thread = thread;
|
||||||
highlight.blocked = false;
|
highlight.blocked = false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user