cockpit-project/cockpit — pull request #1410 by stefwalter (2014-10-31 10:46:50+00:00)
Title: bridge: Hold ref during cockpit_channel_ready()

If a callback from cockpit_channel_ready() closes and unrefs the
channel, then we need to keep a reference so we can cleanly
finish and return from the function.