mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Ensure DummyUiContext deletes allocated resources
This commit is contained in:
@@ -83,6 +83,8 @@ namespace OpenRCT2 { namespace Ui
|
||||
|
||||
// Clipboard
|
||||
bool SetClipboardText(const utf8* target) override { return false; }
|
||||
|
||||
~DummyUiContext() { delete _windowManager; }
|
||||
};
|
||||
|
||||
IUiContext * CreateDummyUiContext()
|
||||
|
||||
Reference in New Issue
Block a user