From a6e0ba262a31468c0e65faf27e6b14817d3c1669 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 18 Jan 2018 02:40:59 +0000 Subject: [PATCH] iStackTrace(targetThread, true) is no longer safe on windoes also --- OpenSim/Framework/Util.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs index eb24c84e0f..0685fdcb49 100644 --- a/OpenSim/Framework/Util.cs +++ b/OpenSim/Framework/Util.cs @@ -2858,6 +2858,12 @@ namespace OpenSim.Framework /// The stack trace, or null if failed to get it private static StackTrace GetStackTrace(Thread targetThread) { + + return null; +/* + not only this does not work on mono but it is not longer recomended on windows. + can cause deadlocks etc. + if (IsPlatformMono) { // This doesn't work in Mono @@ -2920,6 +2926,7 @@ namespace OpenSim.Framework // Signal the fallack-thread to stop exitedSafely.Set(); } +*/ } #pragma warning restore 0618