From 52fa58a3ce8c7695bc033881ebfc9ad6b73365e1 Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Wed, 8 Mar 2023 16:24:24 +0100 Subject: [PATCH] No need for jsonrpc to do this manually --- deltachat-jsonrpc/src/api/mod.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/deltachat-jsonrpc/src/api/mod.rs b/deltachat-jsonrpc/src/api/mod.rs index 0f466d1d4..b47ab6a5c 100644 --- a/deltachat-jsonrpc/src/api/mod.rs +++ b/deltachat-jsonrpc/src/api/mod.rs @@ -1325,7 +1325,6 @@ impl CommandApi { passphrase: Option, ) -> Result<()> { let ctx = self.get_context(account_id).await?; - ctx.stop_io().await; let result = imex::imex( &ctx, imex::ImexMode::ExportBackup, @@ -1333,7 +1332,6 @@ impl CommandApi { passphrase, ) .await; - ctx.start_io().await; result }