We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 792568a commit 596ecdcCopy full SHA for 596ecdc
1 file changed
src/components/BootstrapBlazor.HikVision/wwwroot/hikvision.js
@@ -349,19 +349,21 @@ export function stopRealPlay(id) {
349
350
export function dispose(id) {
351
const vision = Data.get(id);
352
- Data.remove(id);
353
-
354
const { realPlaying, logined, observer } = vision;
355
if (observer) {
356
observer.disconnect();
357
}
+ WebVideoCtrl.I_HidPlugin();
+
358
if (realPlaying === true) {
359
stopRealPlay(id);
360
361
if (logined === true) {
362
logout(id);
363
364
WebVideoCtrl.I_DestroyPlugin();
365
366
+ Data.remove(id);
367
368
369
const getTagNameFirstValue = (xmlDoc, tagName, defaultValue = '0') => {
0 commit comments