mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 11:12:29 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
9
src/util/Autorelease.mm
Normal file
9
src/util/Autorelease.mm
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include "util/Autorelease.hpp"
|
||||
|
||||
System_Autorelease::ScopedPool::ScopedPool() {
|
||||
this->pool = [[NSAutoreleasePool alloc] init];
|
||||
}
|
||||
|
||||
System_Autorelease::ScopedPool::~ScopedPool() {
|
||||
[this->pool release];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue