Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginManager.cs
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.PluginInfrastructure/3.3/Manager/PluginManager.cs
r14185 r14927 83 83 // forward all events from the remoteValidator to listeners 84 84 remoteValidator.PluginLoaded += 85 delegate (object sender, PluginInfrastructureEventArgs e) {85 delegate (object sender, PluginInfrastructureEventArgs e) { 86 86 OnPluginLoaded(e); 87 87 }; … … 90 90 plugins.AddRange(remoteValidator.Plugins); 91 91 applications.AddRange(remoteValidator.Applications); 92 } 93 finally { 92 } finally { 94 93 // discard the AppDomain that was used for plugin discovery 95 94 AppDomain.Unload(pluginDomain); … … 130 129 OnApplicationStarted(new PluginInfrastructureEventArgs(appInfo)); 131 130 applicationManager.Run(appInfo, args); 132 } 133 finally { 131 } finally { 134 132 // make sure domain is unloaded in all cases 135 133 AppDomain.Unload(applicationDomain);
Note: See TracChangeset
for help on using the changeset viewer.