mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2024-12-29 18:55:06 +08:00
parent
467b0d4431
commit
1b3b9194c0
@ -97,7 +97,10 @@ namespace nadena.dev.modular_avatar.core.armature_lock
|
||||
};
|
||||
arrays.Add(InUseMask);
|
||||
|
||||
_allocationMap.OnSegmentDispose += seg => { SetInUseMask(seg.Offset, seg.Length, false); };
|
||||
_allocationMap.OnSegmentDispose += seg =>
|
||||
{
|
||||
if (!_isDisposed) SetInUseMask(seg.Offset, seg.Length, false);
|
||||
};
|
||||
}
|
||||
|
||||
public NativeArrayRef<T> CreateArray<T>() where T : unmanaged
|
||||
|
Loading…
Reference in New Issue
Block a user