Commit 747a2980 authored by yann300's avatar yann300

await for activatePlugin

parent e16becfa
......@@ -153,7 +153,7 @@ class PluginManagerComponent extends ViewPlugin {
}
const plugin = profile.type === 'iframe' ? new IframePlugin(profile) : new WebsocketPlugin(profile)
this.engine.register(plugin)
this.appManager.activatePlugin(plugin.name)
await this.appManager.activatePlugin(plugin.name)
} catch (err) {
// TODO : Use an alert to handle this error instead of a console.log
console.log(`Cannot create Plugin : ${err.message}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment