Skip to content

Commit

Permalink
perf: fix luna close event
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeEirc committed Dec 18, 2024
1 parent 579933e commit 66218a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/hooks/useTerminal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const useTerminal = async (el: HTMLElement, option: ICallbackOptions): Pr
}
case 'CLOSE': {
socket.close();
sendEventToLuna('CLOSE', '');
sendEventToLuna('CLOSE', '',lunaId.value, origin.value);
break;
}
case 'PING':
Expand Down

0 comments on commit 66218a2

Please sign in to comment.