Fix loading projects with custom extensions

Specifically, if someone saves a project with a custom extension in it, they will actually be able to load it if they go back to TW with that extension enabled.
We're not automatically loading custom extensions from projects, that's unsafe.
This commit is contained in:
Thomas Weber committed 2021-03-15 16:49:07 -05:00
1 parent 87d05af4f1
commit cfd3d8fefb
1 file changed
+1
@@ -208,6 +208,7 @@ class ExtensionManager {
*/
registerExtensionService (serviceName) {
dispatch.call(serviceName, 'getInfo').then(info => {
this._loadedExtensions.set(info.id, serviceName);
this._registerExtensionInfo(serviceName, info);
});
}