diff --git a/packages/insomnia-app/app/ui/containers/app.js b/packages/insomnia-app/app/ui/containers/app.js index dba6d1383..99724de53 100644 --- a/packages/insomnia-app/app/ui/containers/app.js +++ b/packages/insomnia-app/app/ui/containers/app.js @@ -713,15 +713,15 @@ class App extends PureComponent { ), }); + } finally { + // Unset active response because we just made a new one + await App._updateRequestMetaByParentId(requestId, { + activeResponseId: null, + }); + + // Stop loading + handleStopLoading(requestId); } - - // Unset active response because we just made a new one - await App._updateRequestMetaByParentId(requestId, { - activeResponseId: null, - }); - - // Stop loading - handleStopLoading(requestId); } async _handleSendRequestWithEnvironment(requestId, environmentId) {