Treat an AsyncInvoke with empty tag like no tag

* Otherwise such an invoke could delete untagged events out of the queue which
  is definitely not what we want. Where is my draw? was doing this and it caused
  internal untagged events which must not be dropped to be removed.
This commit is contained in:
baldurk
2024-11-22 12:13:59 +00:00
parent 12a60875db
commit fa03d19088
+4 -1
View File
@@ -249,9 +249,12 @@ QString ReplayManager::GetCurrentProcessingTag()
void ReplayManager::AsyncInvoke(const rdcstr &tag, ReplayManager::InvokeCallback m)
{
QString qtag(tag);
QString qtag;
if(!tag.empty())
{
qtag = tag;
QMutexLocker autolock(&m_RenderLock);
for(int i = 0; i < m_RenderQueue.count();)
{