• David Wilson's avatar
    issue #140: explicit Broker management, and guard against crap plug-ins. · 3584084b
    David Wilson authored
    Implement Connection.__del__, which is almost certainly going to trigger
    more bugs down the line, because the state of the Connection instance is
    not guranteed during __del__. Meanwhile, it is temporarily needed for
    deployed-today Ansibles that have a buggy synchronize action that does
    not call Connection.close().
    
    A better approach to this would be to virtualize the guts of Connection,
    and move its management to one central place where we can guarantee
    resource destruction happens reliably, but that may entail another
    Ansible monkey-patch to give us such a reliable hook.
    3584084b
connection.py 10.9 KB