forked from rosebudai/OpenRCT2-Web
Reset the string builder rather than overwrite it
This commit is contained in:
1 parent
ede8054726
commit
c956ccc4d4
1 file changed
+2
-2
@@ -170,8 +170,8 @@ public:
|
||||
|
||||
// Clean up the parsing work data
|
||||
Memory::Free(_currentGroup);
|
||||
// Destruct the string builder to free memory
|
||||
_stringDataSB = StringBuilder();
|
||||
// Reset the string builder to free memory
|
||||
_stringDataSB.Reset();
|
||||
_currentGroup = nullptr;
|
||||
_currentObjectOverride = nullptr;
|
||||
_currentScenarioOverride = nullptr;
|
||||
|
||||
Reference in new issue
Block a user