There are some constructors in the C++ API that finalize constructions where exceptions are possible. This PR adds explicit close methods that can be called before destruction to ensure the destructors do not throw. However, it is still the responsibility of the user to ensure that there are no simultaneous exceptions.
There are some constructors in the C++ API that finalize constructions where exceptions are possible. This PR adds explicit close methods that can be called before destruction to ensure the destructors do not throw. However, it is still the responsibility of the user to ensure that there are no simultaneous exceptions.