mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 00:37:15 +01:00
Update the task type to use the new allocator and not attempt to destroy a static instance.
This commit is contained in:
parent
41f2971b7c
commit
5b32baa908
@ -153,7 +153,7 @@ void Tasks::Initialize()
|
||||
void Tasks::Register(HSQUIRRELVM vm)
|
||||
{
|
||||
RootTable(vm).Bind(Typename::Str,
|
||||
Class< Task, NoConstructor< Task > >(vm, Typename::Str)
|
||||
Class< Task, NoDestructor< Task > >(vm, Typename::Str)
|
||||
// Meta-methods
|
||||
.SquirrelFunc(_SC("_typename"), &Typename::Fn)
|
||||
//.Func(_SC("_tostring"), &CBlip::ToString)
|
||||
|
Loading…
Reference in New Issue
Block a user