tensorpipe icon indicating copy to clipboard operation
tensorpipe copied to clipboard

Catch exception from shm connection start()

Open jiayisuse opened this issue 4 years ago • 1 comments

Summary: util::ringbuffer::shm::create(kDefaultSize) could throw system exception and cause connection destruction before initilization completes. If not catch the exception on connection level, destruction will clean up unregistered resources to cause unrelated errors.

Differential Revision: D20616906

jiayisuse avatar Mar 24 '20 07:03 jiayisuse

This pull request was exported from Phabricator. Differential Revision: D20616906

facebook-github-bot avatar Mar 24 '20 07:03 facebook-github-bot