mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
removing all singletons
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
|
||||
namespace mlx
|
||||
{
|
||||
Profiler* Profiler::s_instance = nullptr;
|
||||
|
||||
void Profiler::BeginRuntimeSession()
|
||||
{
|
||||
std::lock_guard lock(m_mutex);
|
||||
@@ -63,5 +65,6 @@ namespace mlx
|
||||
if(!m_runtime_session_began)
|
||||
return;
|
||||
EndRuntimeSession();
|
||||
s_instance = nullptr;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user