Skip to content

Commit 3bf57be

Browse files
committed
feat: 支持销毁方法
1 parent 9b0dc1c commit 3bf57be

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/components/BootstrapBlazor.HikVision/wwwroot

src/components/BootstrapBlazor.HikVision/wwwroot/hikvision.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ export function stopRealPlay(id) {
237237
}
238238

239239
export function dispose(id) {
240+
stopRealPlay(id);
241+
logout(id);
242+
WebVideoCtrl.I_DestroyPlugin();
243+
240244
Data.remove(id);
241245
}
242246

0 commit comments

Comments
 (0)