fixed a bug where calling asyncStackContinue will do nothing if there are no functions left in the stack