Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

2006-05-05 Sebastien Pouliot <sebastien@ximian.com>

	* ExecutionContext.cs: Don't capture the compressed stack unless the 
	security manager is active (this wasn't ready to be called in 
	production code).


svn path=/branches/mono-1-1-13/mcs/; revision=60300
  • Loading branch information...
commit 54775ae1a156960c60b8a0610cb9eec16742e882 1 parent cba302c
Sebastien Pouliot authored
View
5 mcs/class/corlib/System.Threading/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-05 Sebastien Pouliot <sebastien@ximian.com>
+
+ * ExecutionContext.cs: Don't capture the compressed stack unless the
+ security manager is active (this wasn't ready to be called in
+ production code).
Wed Mar 15 16:35:49 CET 2006 Paolo Molaro <lupus@ximian.com>
View
3  mcs/class/corlib/System.Threading/ExecutionContext.cs
@@ -69,7 +69,8 @@ public static ExecutionContext Capture ()
return null;
ExecutionContext capture = new ExecutionContext (ec);
- capture.SecurityContext = SecurityContext.Capture ();
+ if (SecurityManager.SecurityEnabled)
+ capture.SecurityContext = SecurityContext.Capture ();
return capture;
}
Please sign in to comment.
Something went wrong with that request. Please try again.