Add DisposeAll.
This commit is contained in:
@@ -168,6 +168,11 @@ namespace Cryville.Crtr.Event {
|
||||
RMVPool.ReturnAll();
|
||||
MCPool.ReturnAll();
|
||||
}
|
||||
public void DisposeAll() {
|
||||
foreach (var s in Children)
|
||||
s.Value.DisposeAll();
|
||||
Handler.DisposeAll();
|
||||
}
|
||||
|
||||
public void AttachHandler(ContainerHandler h) {
|
||||
if (Handler != null)
|
||||
|
Reference in New Issue
Block a user