Destroy registrations when clearing them, invoking their destructors

This commit is contained in:
Mike Bierlee 2014-10-06 13:18:20 +02:00
parent 16e961c43d
commit b0c880a950

View file

@ -67,7 +67,7 @@ class Container {
}
public void clearAllRegistrations() {
registrations = null;
registrations.destroy();
}
public void removeRegistration(RegistrationType)() {