-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The following code generates an exception:
const videoElement = this.elRef.nativeElement.firstElementChild;
let iovCollection: IovCollection;
// define a function that instantiates an IovCollection, and creates an iov
const createIov = async () => {
iovCollection = IovCollection.asSingleton();
console.log(iovCollection);
const iov = await iovCollection.create({ videoElement } as any);
await iov.changeSrc(url);
};
// create iov
await createIov();
// destroy it after creation
await iovCollection.destroy();
// create again
await createIov();Basically it does the following:
- Instantiate a IovCollection and create a iov
- After that destroy the iovCollection
- Try to create again
This is the exception generated:
The excepction is caused by this.:
Metadata
Metadata
Assignees
Labels
No labels

