Skip to content

Commit

Permalink
.NET: Initialize ManagedObject by default
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Apr 17, 2024
1 parent 431f3b5 commit e972fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp-api/REFrameworkNET/ManagedObject.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ public ref class ManagedObject : public REFrameworkNET::UnifiedObject

bool m_weak{true}; // Can be upgraded to a global object after it's created, but not to a cached object.
bool m_cached{false}; // Cannot be upgraded to a cached object if it was created on a non-globalized object
bool m_initialized{false}; // Used for the object pool
bool m_initialized{true}; // Used for the object pool

internal:
FinalizerDelegate^ m_finalizerDelegate{nullptr};
Expand Down

0 comments on commit e972fa0

Please sign in to comment.