azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Track 2: _open should not require a close if it failed.

Open KieranBrantnerMagee opened this issue 6 years ago • 0 comments

Currently, there are failure modes within _open() (called within enter) such that if it fails, the receiver still requires close() to be called on it lest it emit errors on program exit.

_open() should be idempotent and should leave the handler in a semantically consistent state.

KieranBrantnerMagee avatar Apr 07 '20 17:04 KieranBrantnerMagee