Skip to content

Commit 8e98004

Browse files
committed
oops -- delete is async
1 parent 623253a commit 8e98004

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/packages/project/conat/terminal/session.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ export class Session {
8686
if (this.stream == null) {
8787
return;
8888
}
89-
this.stream.delete({ all: true });
90-
await this.stream.save();
89+
await this.stream.delete({ all: true });
9190
};
9291

9392
write = async (data) => {

0 commit comments

Comments
 (0)