Resource pool while fixing a bug introduced a couple behavioural changes in resource destroying:
- Masking:
- exception handling:
loggingClose from persistent became no longer safe. It could lead to situations where file descriptor and associated database connection will remain opened while connection declared released by the pool, i.e. leaking fds/sockets. Solution would be to make it explicitly uninterruptible.
Resource pool while fixing a bug introduced a couple behavioural changes in resource destroying:
0.4.xit was uninterruptible.0.5.xit has become interruptible.0.4.xit silently ignored all exceptions.0.5.xit has started loudly allowing throwing exceptions.loggingClosefrompersistentbecame no longer safe. It could lead to situations where file descriptor and associated database connection will remain opened while connection declared released by the pool, i.e. leaking fds/sockets. Solution would be to make it explicitly uninterruptible.