Permalink
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...
1 parent cba302c commit 54775ae1a156960c60b8a0610cb9eec16742e882 Sebastien Pouliot committed May 5, 2006
@@ -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>
@@ -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;
}

0 comments on commit 54775ae

Please sign in to comment.