Viewer.destroy() this._onViewReady is undefined

User avatar
ForgeJS Team
Posts: 166
Joined: Wed Oct 26, 2016 12:19 pm

Re: Viewer.destroy() this._onViewReady is undefined

Postby rroux » Tue Jun 20, 2017 2:35 pm

Hello arhenc,

In your particular use case, you try to destroy the viewer during its creation and we do not tested this scenario.
I made some modification to make this possible.

Can you tell me in which case you want to destroy the viewer the very next line after its creation? I'm just curious :)
Maybe you just make test?

My fixes are in a github branch called rroux-destroy here:

It will be merged in the master as soon as the code is reviewed.

Have a nice day!
- Raphaël

Who is online

Users browsing this forum: No registered users and 1 guest