Skip to content

Commit 097ad20

Browse files
committed
Close exchange prior to changing route.
1 parent af78e1e commit 097ad20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routes/ScannerExchangePage.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,9 +301,9 @@ export default {
301301
type: 'positive',
302302
message: `Successfully ${action} credential`,
303303
});
304-
router.push({name: 'home'});
305304
// exchange is finished
306305
exchange.value.close();
306+
router.push({name: 'home'});
307307
break;
308308
}
309309
}

0 commit comments

Comments
 (0)