Bugfix: When an object that is the scope of another object is released an Exception was thrown.