Skip to content

Commit

Permalink
fix(all): End of dialog now OK.
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigorodriguez committed Mar 30, 2021
1 parent 6b1bc00 commit 9b78594
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions packages/basic.gblib/services/GBVMService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,14 +685,8 @@ export class GBVMService extends GBService {
const promise = min.cbMap[id].promise;
delete min.cbMap[id];
try {


// if (step.activeDialog.state.options.previousResolve != undefined) {
// step.activeDialog.state.options.previousResolve();
// }

const opts = await promise(step, result);
return await step.replaceDialog('/hear', opts);
return await step.endDialog();
} catch (error) {
GBLog.error(`Error in BASIC code: ${error}`);
const locale = step.context.activity.locale;
Expand Down

0 comments on commit 9b78594

Please sign in to comment.