mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 20:19:38 +00:00
Handle refactor
This commit is contained in:
9
PortabilityLayer/PLHandle.cpp
Normal file
9
PortabilityLayer/PLHandle.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include "PLHandle.h"
|
||||
|
||||
#include "MemoryManager.h"
|
||||
|
||||
void THandleBase::Dispose()
|
||||
{
|
||||
if (m_hdl)
|
||||
PortabilityLayer::MemoryManager::GetInstance()->ReleaseHandle(m_hdl);
|
||||
}
|
||||
Reference in New Issue
Block a user