Implement finalizer so that all locked accounts are dropped (#3585)

* Implement finalizer so that all locked accounts are dropped when finalizer goes out of scope

* Add test for tx error with lock conflict

* Fix double unlock from destructor running after a call to unlock
This commit is contained in:
carllin
2019-04-02 03:55:42 -07:00
committed by GitHub
parent 92c66a411b
commit d228b6467c
5 changed files with 162 additions and 30 deletions

View File

@@ -5,6 +5,7 @@ pub mod bank_client;
mod blockhash_queue;
pub mod bloom;
pub mod loader_utils;
pub mod locked_accounts_results;
mod native_loader;
pub mod runtime;
mod status_cache;