diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs index 5b28608..13c25d7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptSponsor.cs | |||
@@ -14,5 +14,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Runtime | |||
14 | { | 14 | { |
15 | return TimeSpan.FromMinutes(2); | 15 | return TimeSpan.FromMinutes(2); |
16 | } | 16 | } |
17 | #if DEBUG | ||
18 | // For tracing GC while debugging | ||
19 | public static bool GCDummy = false; | ||
20 | ~ScriptSponsor() | ||
21 | { | ||
22 | GCDummy = true; | ||
23 | } | ||
24 | #endif | ||
17 | } | 25 | } |
18 | } | 26 | } |