mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove capturing phase event usage
Does not seem to be needed for log files to be successfully closed and caused integration tests to fail. Signed-off-by: Sami Tiilikainen <97873007+samitiilikainen@users.noreply.github.com>
This commit is contained in:
parent
e35e470426
commit
fbb17b73f5
@ -84,6 +84,6 @@ export const initClusterFrame = ({
|
||||
unmountRoot();
|
||||
});
|
||||
|
||||
window.addEventListener("beforeunload", onCloseFrame, { capture: true });
|
||||
window.addEventListener("pagehide", onCloseFrame, { capture: true });
|
||||
window.addEventListener("beforeunload", onCloseFrame);
|
||||
window.addEventListener("pagehide", onCloseFrame);
|
||||
};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user