Commit 7f00778
[#315] skip cleanup() if session.pool is None
An uninitiated session (represented by an iRODSSession object
with pool attribute of None) was, upon deletion, calling cleanup()
despite having no connections (idle or active) to clean up. This
corrects the bug and prevents the error message that was spooling
to the console as a result.1 parent 000b3ec commit 7f00778
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
0 commit comments