diff --git a/examples/purchase.rs b/examples/purchase.rs index 632f5979..6f4af6af 100644 --- a/examples/purchase.rs +++ b/examples/purchase.rs @@ -130,9 +130,8 @@ async fn receive_product_selection( format!("{full_name}, product '{product}' has been purchased successfully!"), ) .await?; + dialogue.exit().await?; } - - dialogue.update(State::Start).await?; } Ok(())