Skip to content

Commit ee052f0

Browse files
committed
fix: 修复报异常问题
1 parent 0000ec1 commit ee052f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/BootstrapBlazor.Player/Player.razor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import './plyr.js';
1+
import './plyr.js';
22
import './hls.js';
33
import { addLink, addScript } from '../BootstrapBlazor/modules/utility.js';
44
import Data from '../BootstrapBlazor/modules/data.js';
@@ -106,7 +106,7 @@ export function dispose(id) {
106106
const { player } = p;
107107
if (player) {
108108
player.destroy();
109-
player = null;
109+
delete p.player;
110110
}
111111
}
112112
}

0 commit comments

Comments
 (0)