libraries: remove power system before ownership

issue1247
Maikel de Vries 2015-02-03 19:38:23 +01:00
parent 121af3459e
commit 97900a1278
1 changed files with 4 additions and 2 deletions

View File

@ -184,9 +184,11 @@ public func Construction()
public func Destruction()
{
// Important: first process other libraries like the power library which removes links
// from the network and then handle ownership removal.
_inherited(...);
RemoveOwnership();
return _inherited(...);
return;
}
private func AddOwnership()