mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 18:14:07 +03:00
Fix destroy/reinit
This commit is contained in:
parent
59a3ddf2d0
commit
f9a3e42f15
|
@ -48,6 +48,7 @@ export function init(specUrl:string, options:any = {}) {
|
||||||
|
|
||||||
export function destroy() {
|
export function destroy() {
|
||||||
moduleRef.destroy();
|
moduleRef.destroy();
|
||||||
|
moduleRef = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user