mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-02 18:39:05 +01:00
fix slow tab closing
This commit is contained in:
parent
b278d11aca
commit
3dbc8139eb
@ -30,7 +30,7 @@ func DeleteBlock(ctx context.Context, tabId string, blockId string) error {
|
||||
if err != nil {
|
||||
return fmt.Errorf("error deleting block: %w", err)
|
||||
}
|
||||
blockcontroller.StopBlockController(blockId)
|
||||
go blockcontroller.StopBlockController(blockId)
|
||||
sendBlockCloseEvent(tabId, blockId)
|
||||
return nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user