From 5f232077a71f7b033c33f7bf4cf0716b009a2a8d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 24 Feb 2020 03:00:09 +0000 Subject: [PATCH] give a tiny more time for deattach event to trigger --- .../Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 28079fda05..3a293a55a2 100755 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs @@ -1163,7 +1163,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments { m_scene.EventManager.TriggerOnAttach(grp.LocalId, grp.FromItemID, UUID.Zero); // Allow detach event time to do some work before stopping the script - Thread.Sleep(2); + Thread.Sleep(30); } using (StringWriter sw = new StringWriter())