Fix destroy/reinit

This commit is contained in:
Roman Hotsiy 2016-10-12 23:05:30 +03:00
parent 59a3ddf2d0
commit f9a3e42f15
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -48,6 +48,7 @@ export function init(specUrl:string, options:any = {}) {
export function destroy() {
moduleRef.destroy();
moduleRef = null;
};