Skip to content

Commit

Permalink
Fix closing pool
Browse files Browse the repository at this point in the history
Signed-off-by: Patrik Stas <patrik.stas@absa.africa>
  • Loading branch information
Patrik-Stas committed Jun 25, 2023
1 parent 524f718 commit 8375435
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvcx_core/src/api_vcx/api_global/pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ pub async fn open_main_pool(config: &PoolConfig) -> LibvcxResult<()> {

pub async fn close_main_pool() -> LibvcxResult<()> {
info!("close_main_pool >> Closing main pool");
// indy_close_pool(get_main_pool_handle()?).await?;
indy_close_pool(get_main_pool_handle()?).await?;
// todo: better way to go about this?
legacy_setup_global_pool(None);
setup_global_pool(None);
Expand Down

0 comments on commit 8375435

Please sign in to comment.