mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-08 12:15:25 +03:00
try disconnecting to improve memory usage
This commit is contained in:
parent
1beb990f43
commit
3b76fef97c
@ -243,6 +243,10 @@ function MSEPlayer({ camera, className, onPlaying }: MSEPlayerProps) {
|
||||
|
||||
useEffect(() => {
|
||||
onConnect();
|
||||
|
||||
return () => {
|
||||
onDisconnect();
|
||||
};
|
||||
}, [wsURL]);
|
||||
|
||||
return (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user