give a tiny more time for deattach event to trigger

master
UbitUmarov 2020-02-24 03:00:09 +00:00
parent 270a3e3836
commit 5f232077a7
1 changed files with 1 additions and 1 deletions

View File

@ -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())