Merge lp:~mattia.barbon/txsymmetricjsonrpc/free-yajl-handle into lp:txsymmetricjsonrpc
Proposed by
Mattia Barbon
Status: | Needs review |
---|---|
Proposed branch: | lp:~mattia.barbon/txsymmetricjsonrpc/free-yajl-handle |
Merge into: | lp:txsymmetricjsonrpc |
Diff against target: |
132 lines (+39/-8) 5 files modified
txsymmetricjsonrpc/protocol.py (+11/-4) txsymmetricjsonrpc/proxy.py (+7/-0) txsymmetricjsonrpc/test/test_proxy.py (+4/-0) txsymmetricjsonrpc/test/test_v20.py (+4/-0) txsymmetricjsonrpc/test/utils.py (+13/-4) |
To merge this branch: | bzr merge lp:~mattia.barbon/txsymmetricjsonrpc/free-yajl-handle |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Manuel de la Peña | Pending | ||
Review via email: mp+62091@code.launchpad.net |
Description of the change
Free the YAJL parser handle when the connection is closed.
Cancel pending JSON-RPC calls when the connection is closed.
Call loseConnection() in test tearDown() method.
To post a comment you must log in.
Unmerged revisions
- 5. By Mattia Barbon
-
Close the mocked connection at the end of each test.
- 4. By Mattia Barbon
-
Don't try to dispatch objects if there was a parse error.
- 3. By Mattia Barbon
-
Cancel pending JSON-RPC calls when closing the connection.
- 2. By Mattia Barbon
-
Free the JSON parser when closing the connection.