Fixing memory leak with RefPtr

This commit is contained in:
Dynamitos committed 2020-04-01 02:17:49 +02:00
1 parent 62c2d37cb3
commit 3ba8f2c2a0
37 files changed
+1675 -270

No files matched your search

+4
View File
@@ -13,6 +13,10 @@ namespace Seele
void addWindow(const WindowCreateInfo& createInfo);
void beginFrame();
void endFrame();
inline bool isActive() const
{
return windows.size();
}
private:
Array<PWindow> windows;
Gfx::PGraphics graphics;