mirror of
https://github.com/Redocly/redoc.git
synced 2025-01-31 10:04:08 +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() {
|
||||
moduleRef.destroy();
|
||||
moduleRef = null;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user