| 626 | } |
| 627 | |
| 628 | void NativeEngine::Dispose() |
| 629 | { |
| 630 | m_cancelSource.cancel(); |
| 631 | |
| 632 | // This collection contains bgfx data, so it must be cleared before bgfx::shutdown is called. |
| 633 | m_programDataCollection.clear(); |
| 634 | } |
| 635 | |
| 636 | void NativeEngine::Dispose(const Napi::CallbackInfo& /*info*/) |
| 637 | { |