From 276d882ad3a68a35f1d48cd6a702fcb31e9f7bd8 Mon Sep 17 00:00:00 2001 From: BlueWall Date: Thu, 26 Jul 2012 12:47:26 -0400 Subject: [PATCH] Re-order initialization --- .../Services/IntegrationService/IntegrationServiceBase.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/IntegrationService/IntegrationServiceBase.cs b/OpenSim/Services/IntegrationService/IntegrationServiceBase.cs index 62ef60abc3..75d91d04d7 100644 --- a/OpenSim/Services/IntegrationService/IntegrationServiceBase.cs +++ b/OpenSim/Services/IntegrationService/IntegrationServiceBase.cs @@ -161,12 +161,14 @@ namespace OpenSim.Services.IntegrationService } AddinManager.Initialize(RegistryLocation); - AddinManager.Registry.Update(); - + AddinManager.AddinLoaded += on_addinloaded_; AddinManager.AddinLoadError += on_addinloaderror_; AddinManager.AddinUnloaded += HandleAddinManagerAddinUnloaded; AddinManager.AddExtensionNodeHandler("/OpenSim/IntegrationService", OnExtensionChanged); + + AddinManager.Registry.Update(); + } }