Rather than using futures and waiting in the destructor, the APIs now use enable_shared_from_this and the lambda captures a shared pointer to the API to prevent it from going out of scope. As a result the destructor can not be called while there is a pending async operation which removes the need to wait in the destructor and thereby removing the potential for an exception to be thrown causing this crash. |
||
|---|---|---|
| .. | ||
| api.hpp | ||
| api_access.hpp | ||
| application.hpp | ||
| full_account.hpp | ||
| impacted.hpp | ||
| plugin.hpp | ||