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. |
||
|---|---|---|
| .. | ||
| app | ||
| chain | ||
| db | ||
| deterministic_openssl_rand | ||
| egenesis | ||
| fc@458b601774 | ||
| net | ||
| plugins | ||
| time | ||
| utilities | ||
| wallet | ||
| CMakeLists.txt | ||