mirror of
https://github.com/mbierlee/poodinis.git
synced 2024-11-15 04:04:01 +01:00
Destroy registrations when clearing them, invoking their destructors
This commit is contained in:
parent
16e961c43d
commit
b0c880a950
|
@ -67,7 +67,7 @@ class Container {
|
|||
}
|
||||
|
||||
public void clearAllRegistrations() {
|
||||
registrations = null;
|
||||
registrations.destroy();
|
||||
}
|
||||
|
||||
public void removeRegistration(RegistrationType)() {
|
||||
|
|
Loading…
Reference in a new issue