Ensure annotations aren't deleted early on device lost

* Similar to the structured file, the ownership of these must pass to the dummy
  driver to be kept alive until it's deleted.
This commit is contained in:
baldurk
2026-08-25 23:20:28 +01:00
parent 7a84691cf0
commit e744863a06
13 changed files with 59 additions and 8 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ public:
}
IReplayDriver *MakeDummyDriver()
{
IReplayDriver *ret = new DummyDriver(this, {}, m_File);
IReplayDriver *ret = new DummyDriver(this, {}, m_File, {});
// lose our structured file reference
m_File = NULL;
return ret;