Making the J2KDecoderModule decoder function async. Could this be the cause of sim freeze? -- HandleRequestImage in LLClientView is now sync, which means that it cannot take too long to complete. However, its execution path may end up in J2KDecoderModule.Decode, which is heavy and could stop the packet processing thread while it's at it.

TeleportWork
Diva Canto 2013-08-03 15:42:25 -07:00
parent 847c01f406
commit b857353fc9
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureSender
// Do Decode! // Do Decode!
if (decode) if (decode)
Decode(assetID, j2kData); Util.FireAndForget(delegate { Decode(assetID, j2kData); });
} }
} }