cockpit-project/cockpit — pull request #1105 by stefwalter (2014-09-02 09:42:35+00:00)
Title: agent: Fix assertion in cockpit_resource_finalize()

The close virtual method was not being called if the transport
closed before the channel.

Add a test which double checks this problem.

Fixes #1104