Skip to content

Commit 3572000

Browse files
committed
refactor(example): update basic example
1 parent d4d0dfe commit 3572000

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/basic.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ fn main() -> Result<()> {
4242
// Stop Agent
4343
agent.stop()?;
4444

45+
drop(agent);
46+
4547
// Show program exit time
4648
let exit = std::time::SystemTime::now()
4749
.duration_since(std::time::UNIX_EPOCH)

0 commit comments

Comments
 (0)