mono.git
13 years agoCompile&Run runtime tests with 4.0 corlib
Marek Safar [Wed, 2 Feb 2011 12:31:53 +0000 (12:31 +0000)]
Compile&Run runtime tests with 4.0 corlib

13 years agoMove DynamicContext class into a new file
Marek Safar [Wed, 2 Feb 2011 12:14:26 +0000 (12:14 +0000)]
Move DynamicContext class into a new file

13 years agoAdd handling of broken Convert callsite from Orchard Project
Marek Safar [Wed, 2 Feb 2011 12:07:12 +0000 (12:07 +0000)]
Add handling of broken Convert callsite from Orchard Project

13 years agoAlign call instructions to make code patching SMP safe.
Rodrigo Kumpera [Wed, 2 Feb 2011 11:30:35 +0000 (12:30 +0100)]
Align call instructions to make code patching SMP safe.

* mini-x86.c (emit_call): Align call instructions on
3 mod 4 so the address is 4 bytes aligned and can't span
two cache lines. This is required for proper SMP support
as CAS is not atomic across cache lines.

Fixes one of the crashes due to #667921.

13 years agoAnother attempt to build resgen correctly
Marek Safar [Wed, 2 Feb 2011 11:07:50 +0000 (11:07 +0000)]
Another attempt to build resgen correctly

13 years agoNew test
Marek Safar [Wed, 2 Feb 2011 11:07:42 +0000 (11:07 +0000)]
New test

13 years agoUpdate to the latest mcs
Marek Safar [Wed, 2 Feb 2011 10:01:51 +0000 (10:01 +0000)]
Update to the latest mcs

13 years agoUpdate resgen header
Marek Safar [Wed, 2 Feb 2011 09:44:00 +0000 (09:44 +0000)]
Update resgen header

13 years agoUpdate to the latest mcs
Marek Safar [Wed, 2 Feb 2011 09:40:52 +0000 (09:40 +0000)]
Update to the latest mcs

13 years agoMake resgen build profile specific
Marek Safar [Wed, 2 Feb 2011 09:13:59 +0000 (09:13 +0000)]
Make resgen build profile specific

13 years agoClean up resource files
Marek Safar [Wed, 2 Feb 2011 09:09:48 +0000 (09:09 +0000)]
Clean up resource files

13 years agoImplement XamlReader.ReadSubtree().
Atsushi Eno [Wed, 2 Feb 2011 09:18:02 +0000 (18:18 +0900)]
Implement XamlReader.ReadSubtree().

13 years agoAdd missing test files.
Atsushi Eno [Wed, 2 Feb 2011 09:14:24 +0000 (18:14 +0900)]
Add missing test files.

13 years agoImplement GetInheritedContracts(), towards bugfix #668089.
Atsushi Eno [Wed, 2 Feb 2011 07:11:58 +0000 (16:11 +0900)]
Implement GetInheritedContracts(), towards bugfix #668089.

13 years agoAvoid a stack overflow when deactivating a window
Geoff Norton [Wed, 2 Feb 2011 04:53:36 +0000 (23:53 -0500)]
Avoid a stack overflow when deactivating a window

13 years ago[Sdb] Pass out assigned port from VirtualMachineManager.BeginListen
Michael Hutchinson [Wed, 2 Feb 2011 03:54:34 +0000 (22:54 -0500)]
[Sdb] Pass out assigned port from VirtualMachineManager.BeginListen

13 years agoUpdated .gitignore
Rolf Bjarne Kvinge [Mon, 24 Jan 2011 21:49:01 +0000 (22:49 +0100)]
Updated .gitignore

13 years agoAdd test for dynamic method resurrection.
Rodrigo Kumpera [Tue, 1 Feb 2011 17:08:36 +0000 (18:08 +0100)]
Add test for dynamic method resurrection.

13 years agosecurity was missing in 4.0 profile
Marek Safar [Tue, 1 Feb 2011 16:59:53 +0000 (16:59 +0000)]
security was missing in 4.0 profile

13 years agoMake caching in mono_marshal_get_virtual_stelemref () thread-safe. Fixes #668489.
Zoltan Varga [Tue, 1 Feb 2011 15:14:38 +0000 (16:14 +0100)]
Make caching in mono_marshal_get_virtual_stelemref () thread-safe. Fixes #668489.

13 years agoDon't use finalization to cleanup dynamic methods.
Rodrigo Kumpera [Tue, 1 Feb 2011 15:50:24 +0000 (16:50 +0100)]
Don't use finalization to cleanup dynamic methods.

* reflection.c: Use a reference queue to cleanup
dynamic methods instead of finalization.

* runtime.c: Shutdown the dynamic method queue
before runtime cleanup begins.

* DynamicMethod.cs: No longer finalizable.

* icall-def.h: Remove unused dynamic method icall.

Fixes #660422

13 years agoImplement a reference queue API.
Rodrigo Kumpera [Tue, 1 Feb 2011 15:15:59 +0000 (16:15 +0100)]
Implement a reference queue API.

* gc.c: A reference queue allows one to queue
callbcks for when objects are collected.
It allows for safe cleanup of objects that can
only be done when it is effectively collected.
The major difference with regular finalization
is that the collector makes sure the object
was collected - and can't be resurrected.

* gc-internal.h: Export entrypoints for the
new API.

13 years agoFix culevel execution path
Marek Safar [Tue, 1 Feb 2011 15:05:37 +0000 (15:05 +0000)]
Fix culevel execution path

13 years agoAdd gacutil to perprofile build
Marek Safar [Tue, 1 Feb 2011 14:59:08 +0000 (14:59 +0000)]
Add gacutil to perprofile build

13 years agoDisable finally_guard test on Windows.
joncham [Tue, 1 Feb 2011 02:47:07 +0000 (21:47 -0500)]
Disable finally_guard test on Windows.

13 years agoFix resgen profile path
Marek Safar [Tue, 1 Feb 2011 14:27:01 +0000 (14:27 +0000)]
Fix resgen profile path

13 years agoFix empty cast conversion from dynamic type object type argument
Marek Safar [Tue, 1 Feb 2011 13:41:07 +0000 (13:41 +0000)]
Fix empty cast conversion from dynamic type object type argument

13 years agoDefault mcs sdk version is now 4
Marek Safar [Tue, 1 Feb 2011 13:34:02 +0000 (13:34 +0000)]
Default mcs sdk version is now 4

13 years agoAdapt Parallel.For stealing to all processor flavors
Jérémie Laval [Mon, 31 Jan 2011 18:08:45 +0000 (18:08 +0000)]
Adapt Parallel.For stealing to all processor flavors

13 years agoMake mcs.exe .net4 application
Marek Safar [Tue, 1 Feb 2011 12:52:50 +0000 (12:52 +0000)]
Make mcs.exe .net4 application

13 years agoRemove unused file
Marek Safar [Mon, 31 Jan 2011 18:12:00 +0000 (18:12 +0000)]
Remove unused file

13 years agoMake sure to clear compiled items. Fixes regressions appeared in WCF land.
Atsushi Eno [Tue, 1 Feb 2011 12:23:44 +0000 (21:23 +0900)]
Make sure to clear compiled items. Fixes regressions appeared in WCF land.

13 years agostandard endpoint and protocol mapping support were lacking at client side.
Atsushi Eno [Tue, 1 Feb 2011 11:25:40 +0000 (20:25 +0900)]
standard endpoint and protocol mapping support were lacking at client side.

Turned out that they had nothing to do with #668089..

13 years ago[asp.net] FormsAuthenticationTicket.FromByteArray stops early if it is passed a null...
Marek Habersack [Tue, 1 Feb 2011 07:52:20 +0000 (08:52 +0100)]
[asp.net] FormsAuthenticationTicket.FromByteArray stops early if it is passed a null parameter

13 years ago[runtime] AddWatcher icall must look up the path in an IOMAP-aware way
Marek Habersack [Mon, 31 Jan 2011 15:33:19 +0000 (16:33 +0100)]
[runtime] AddWatcher icall must look up the path in an IOMAP-aware way

13 years agoMembers in the base type in different namespace are serialized in base ns.
Atsushi Eno [Tue, 1 Feb 2011 06:53:05 +0000 (15:53 +0900)]
Members in the base type in different namespace are serialized in base ns.

When the serializer serializes a Type B which is derived from A, it used to
serialize member M in A as in namespace_of_B, not in namespace_of_A.

This should fix bug #652331.

13 years agoquick build workaround.
Atsushi Eno [Tue, 1 Feb 2011 03:59:44 +0000 (12:59 +0900)]
quick build workaround.

13 years agoin NET_4_0, remove types that went into System.Xaml.dll. Change build order.
Atsushi Eno [Tue, 1 Feb 2011 01:56:07 +0000 (10:56 +0900)]
in NET_4_0, remove types that went into System.Xaml.dll. Change build order.

13 years agoFixes #527447 whereby it was not possible to pass additional arguments to mono-servic...
Bit Diff [Mon, 31 Jan 2011 22:57:19 +0000 (17:57 -0500)]
Fixes #527447 whereby it was not possible to pass additional arguments to mono-service2 (if your executable required command-line arguments of it's own).

13 years agoRemove some duplicate code from mono_arch_find_jit_info ().
Zoltan Varga [Mon, 31 Jan 2011 21:44:13 +0000 (22:44 +0100)]
Remove some duplicate code from mono_arch_find_jit_info ().

13 years agoFix stack walks on sparc.
Zoltan Varga [Mon, 31 Jan 2011 21:39:28 +0000 (22:39 +0100)]
Fix stack walks on sparc.

13 years agoHandle wrapped ThreadAbortException
Gonzalo Paniagua Javier [Mon, 31 Jan 2011 21:34:44 +0000 (16:34 -0500)]
Handle wrapped ThreadAbortException

Third party ProcessRequest() like the one from Razor can wrap a
ThreadAbortException originated from response.Redirect().

13 years agoFix the basic-profile build.
Jonathan Pryor [Mon, 31 Jan 2011 20:17:46 +0000 (15:17 -0500)]
Fix the basic-profile build.

13 years ago[monodroid] Fix System.TimeZoneInfo.
Jonathan Pryor [Mon, 31 Jan 2011 19:08:41 +0000 (14:08 -0500)]
[monodroid] Fix System.TimeZoneInfo.

Most System.TimeZoneInfo members weren't be included in the build.

13 years agoAllow forcing HTTP protocol version
Gonzalo Paniagua Javier [Mon, 31 Jan 2011 15:47:23 +0000 (10:47 -0500)]
Allow forcing HTTP protocol version

If the version is manually set, ignore the version from the service
point when set.

Fixes bug #668199.

13 years agoHandle possible exceptions thrown by Socket.Close
Lluis Sanchez [Mon, 31 Jan 2011 15:32:43 +0000 (16:32 +0100)]
Handle possible exceptions thrown by Socket.Close

13 years ago[asp.net] Implemented 4.0 types System.Web.Security.{MachineKey,MachineKeyProtection...
Marek Habersack [Mon, 31 Jan 2011 14:10:52 +0000 (15:10 +0100)]
[asp.net] Implemented 4.0 types System.Web.Security.{MachineKey,MachineKeyProtection} plus tests

13 years agounbreak the build
Jb Evain [Mon, 31 Jan 2011 14:02:24 +0000 (15:02 +0100)]
unbreak the build

13 years agoAdd more details to mcs time tracing
Marek Safar [Mon, 31 Jan 2011 13:52:37 +0000 (13:52 +0000)]
Add more details to mcs time tracing

13 years ago[Fix] Cleanup per github comments.
Levi Bard [Mon, 22 Nov 2010 13:16:34 +0000 (14:16 +0100)]
[Fix] Cleanup per github comments.

 * io-layer/processes.c:
 * io-layer/process-private.h:
  Cleanup per github comments.

License: MIT/X11

13 years ago[Fix] Fix process scanning on OSX.
Tak [Fri, 22 Oct 2010 10:51:56 +0000 (12:51 +0200)]
[Fix] Fix process scanning on OSX.

* io-layer/process-private.h: Generalize PID masking.
* io-layer/processes.c: Fix process scanning on OSX.

License: MIT/X11

13 years agoWhen using xdebug, allocate all code from the code manager of the root domain. Hopefu...
Zoltan Varga [Mon, 31 Jan 2011 10:45:38 +0000 (11:45 +0100)]
When using xdebug, allocate all code from the code manager of the root domain. Hopefully fixes #666152.

13 years ago[asp.net] Ignore directories that don't exist instead of throwing.
Marek Habersack [Mon, 31 Jan 2011 10:06:41 +0000 (11:06 +0100)]
[asp.net] Ignore directories that don't exist instead of throwing.

13 years agoFix bug #661400 - fix complicated namespace resolution issue.
Atsushi Eno [Mon, 31 Jan 2011 09:02:09 +0000 (18:02 +0900)]
Fix bug #661400 - fix complicated namespace resolution issue.

Namespaces in nested external schemas have to be validated against
immediately-containing schema. If there is a schema A with urn:x
targetNamespace imports a schema B with urn:y targetNamespace which
in turn includes another schema C, then C must be validated its namespace
against B, not A.

13 years ago[runtime] Use IOAMP-aware method of looking for domain configuration file
Marek Habersack [Fri, 28 Jan 2011 23:29:44 +0000 (00:29 +0100)]
[runtime] Use IOAMP-aware method of looking for domain configuration file

13 years agoReally fix sgen on PowerPC Linux. Assembler on Linux requires that register names...
Jo Shields [Sun, 30 Jan 2011 20:37:24 +0000 (20:37 +0000)]
Really fix sgen on PowerPC Linux. Assembler on Linux requires that register names are just bare numbers, unlike OSX, i.e. "r0" must be "0" on Linux.

13 years agoDo not return DocumentFragment from AppendChild() etc. Fixed bug #666249.
Atsushi Eno [Mon, 31 Jan 2011 04:27:46 +0000 (13:27 +0900)]
Do not return DocumentFragment from AppendChild() etc. Fixed bug #666249.

13 years agoFixed bug #666872; XElement.Changed and .Changing were not triggered.
Atsushi Eno [Mon, 31 Jan 2011 03:09:06 +0000 (12:09 +0900)]
Fixed bug #666872; XElement.Changed and .Changing were not triggered.

Patch almost by Cambell Prince.

13 years agoadd public NetTcpSecurity .ctor() and close #667429.
Atsushi Eno [Mon, 31 Jan 2011 02:49:22 +0000 (11:49 +0900)]
add public NetTcpSecurity .ctor() and close #667429.

13 years ago[repl] Fix running specified scripts from command line, allow #! syntax, add print...
Miguel de Icaza [Sun, 30 Jan 2011 22:42:58 +0000 (17:42 -0500)]
[repl] Fix running specified scripts from command line, allow #! syntax, add print command

We were calling the Reset () method after we had initialized the driver
with the new command line arguments, clearing the list of files to execute
before we executed them.

Added support for #! in the csharp repl, and added the print() command to
the InteractiveBase

Add a better way of dealing with -e, without adding hacks to the core that wont work
in the future

13 years ago[repl] Fix running specified scripts from command line, allow #! syntax, add print...
Miguel de Icaza [Sun, 30 Jan 2011 16:31:08 +0000 (11:31 -0500)]
[repl] Fix running specified scripts from command line, allow #! syntax, add print command

We were calling the Reset () method after we had initialized the driver
with the new command line arguments, clearing the list of files to execute
before we executed them.

Added support for #! in the csharp repl, and added the print() command to
the InteractiveBase

13 years agoFixes 667236 - Handle numeric types appropriately
Veerapuram Varadhan [Sun, 30 Jan 2011 19:44:14 +0000 (01:14 +0530)]
Fixes 667236 - Handle numeric types appropriately

13 years ago[repl] Add support for -e EXPRESSION to the csharp command
Miguel de Icaza [Sun, 30 Jan 2011 17:06:10 +0000 (12:06 -0500)]
[repl] Add support for -e EXPRESSION to the csharp command

13 years agoDocument csharp #! support
Miguel de Icaza [Sun, 30 Jan 2011 16:40:59 +0000 (11:40 -0500)]
Document csharp #! support

13 years agoAdded schema file to fix test break
Veerapuram Varadhan [Fri, 28 Jan 2011 17:33:02 +0000 (23:03 +0530)]
Added schema file to fix test break

13 years agoDon't run the test. Fixes test break.
Veerapuram Varadhan [Fri, 21 Jan 2011 20:53:46 +0000 (02:23 +0530)]
Don't run the test. Fixes test break.

13 years agoMark a newly added test as !FULLAOT.
Zoltan Varga [Sun, 30 Jan 2011 08:12:08 +0000 (09:12 +0100)]
Mark a newly added test as !FULLAOT.

13 years agoFix some quadratic behavior in the AOT compiler.
Zoltan Varga [Sun, 30 Jan 2011 08:10:30 +0000 (09:10 +0100)]
Fix some quadratic behavior in the AOT compiler.

13 years agoImprove hashing of MONO_PATCH_INFO_TYPE_FROM_HANDLE.
Zoltan Varga [Sun, 30 Jan 2011 08:10:09 +0000 (09:10 +0100)]
Improve hashing of MONO_PATCH_INFO_TYPE_FROM_HANDLE.

13 years agoDon't crash when inlining static methods called using callvirt. Fixes #668170.
Zoltan Varga [Sun, 30 Jan 2011 05:59:42 +0000 (06:59 +0100)]
Don't crash when inlining static methods called using callvirt. Fixes #668170.

13 years agoClear the 'need_rgctx_tramp' flag when creating a synchronized wrapper. Fixes
Zoltan Varga [Sat, 29 Jan 2011 19:51:23 +0000 (20:51 +0100)]
Clear the 'need_rgctx_tramp' flag when creating a synchronized wrapper. Fixes

13 years agoTypo
Geoff Norton [Sat, 29 Jan 2011 16:35:54 +0000 (11:35 -0500)]
Typo

13 years agoRemove .NET 1.1 internal class: System.Windows.Forms.IDeviceContext
Thomas Goldstein [Sat, 29 Jan 2011 09:23:59 +0000 (10:23 +0100)]
Remove .NET 1.1 internal class: System.Windows.Forms.IDeviceContext

13 years agoAvoid a crash when shutting down jit attached threads
Geoff Norton [Sat, 29 Jan 2011 00:05:21 +0000 (19:05 -0500)]
Avoid a crash when shutting down jit attached threads

13 years agoRemove unused --with-glib/--with-jit/--with-interp options.
Zoltan Varga [Fri, 28 Jan 2011 16:32:33 +0000 (17:32 +0100)]
Remove unused --with-glib/--with-jit/--with-interp options.

13 years agoAdd an AtLeast version to sdb's VersionInfo class.
Zoltan Varga [Fri, 28 Jan 2011 05:28:28 +0000 (06:28 +0100)]
Add an AtLeast version to sdb's VersionInfo class.

13 years agoEnsure we setup the vtable before accessing it
Geoff Norton [Fri, 28 Jan 2011 06:08:19 +0000 (01:08 -0500)]
Ensure we setup the vtable before accessing it

13 years agoBump SDB protocol so MonoDevelop can guard IL inspection of dynamic methods
Geoff Norton [Fri, 28 Jan 2011 05:25:57 +0000 (00:25 -0500)]
Bump SDB protocol so MonoDevelop can guard IL inspection of dynamic methods

13 years agoDont leak loader errors in the aot compiler, as it could cause later methods to not...
Geoff Norton [Fri, 28 Jan 2011 04:23:15 +0000 (23:23 -0500)]
Dont leak loader errors in the aot compiler, as it could cause later methods to not get compiled erroneously

13 years ago[HttpListener] Set each cookie in its own header
Gonzalo Paniagua Javier [Thu, 27 Jan 2011 20:45:25 +0000 (15:45 -0500)]
[HttpListener] Set each cookie in its own header

Send a Set-Cookie header per cookie instead of a Set-Cookie2 with
multiple cookies.

Fixes bug #667550.

13 years agoFix AOT support for types in the EXPORTEDTYPE table.
Zoltan Varga [Thu, 27 Jan 2011 18:27:22 +0000 (19:27 +0100)]
Fix AOT support for types in the EXPORTEDTYPE table.

13 years agoWorkaround stealing failure by disabling it in 32bits
Jérémie Laval [Thu, 27 Jan 2011 17:54:19 +0000 (17:54 +0000)]
Workaround stealing failure by disabling it in 32bits

13 years agoIncrease an aot buffer size again.
Zoltan Varga [Thu, 27 Jan 2011 16:24:26 +0000 (17:24 +0100)]
Increase an aot buffer size again.

13 years ago[asp.net] DefaultVirtualPathProvider cosmetics.
Marek Habersack [Thu, 27 Jan 2011 14:31:33 +0000 (15:31 +0100)]
[asp.net] DefaultVirtualPathProvider cosmetics.

Use String.IsNullOrEmpty instead of comparing against ""

13 years ago[asp.net] A bunch of fixes related to the default VirtualPathProvider (needed for...
Marek Habersack [Thu, 27 Jan 2011 14:30:46 +0000 (15:30 +0100)]
[asp.net] A bunch of fixes related to the default VirtualPathProvider (needed for Orchard)

* DefaultVirtualDirectory is now more careful when snipping off parts of the path passed to
  its constructor. Before removing the file part it checks whether the file indeed exists.
  Also sealed the class and made it use generic List instead of ArrayList
* HttpRequest does not normalize mapped paths when converting them to absolute ones. This is
  to avoid errors when path like "~/bin/../../file.txt" is passed to MapPath.
* VirtualPathUtility.ToAbsolute overload with normalize parameter really doesn't normalize
  the resulting path now.

13 years ago[machine.config] Added the <system.transactions> section definition
Marek Habersack [Tue, 25 Jan 2011 15:51:56 +0000 (16:51 +0100)]
[machine.config] Added the <system.transactions> section definition

13 years agoApplied patch from Burkhard Linke <blinke@cebitec.uni-bielefeld.de>. Add support...
Zoltan Varga [Thu, 27 Jan 2011 14:32:46 +0000 (15:32 +0100)]
Applied patch from Burkhard Linke <blinke@cebitec.uni-bielefeld.de>. Add support for newer boehm-gc versions.

13 years agoLeave db connection opened until requested to close it and add more unit tests
Jérémie Laval [Thu, 27 Jan 2011 13:13:25 +0000 (13:13 +0000)]
Leave db connection opened until requested to close it and add more unit tests

13 years agoRevert "[Build] Ensure the profiler module is built in the moon profile."
Alan McGovern [Thu, 27 Jan 2011 12:57:22 +0000 (12:57 +0000)]
Revert "[Build] Ensure the profiler module is built in the moon profile."

This reverts commit 29754329697bb4220f5db28eaa7d516e98820d74. This breaks
the moon build currently.

13 years ago[Build] Ensure the profiler module is built in the moon profile.
Alan McGovern [Thu, 27 Jan 2011 11:15:32 +0000 (11:15 +0000)]
[Build] Ensure the profiler module is built in the moon profile.

13 years agoImprove an AOT error message.
Zoltan Varga [Thu, 27 Jan 2011 10:49:27 +0000 (11:49 +0100)]
Improve an AOT error message.

13 years agoFix up aot-ing of mscorlib/mcs by AOTing mcs in the basic/2.0 profiles, installing...
Zoltan Varga [Thu, 27 Jan 2011 10:48:21 +0000 (11:48 +0100)]
Fix up aot-ing of mscorlib/mcs by AOTing mcs in the basic/2.0 profiles, installing it in 2.0.

13 years agoFix compilation of tests/assemblyresolve with newer mcs-es.
Zoltan Varga [Thu, 27 Jan 2011 10:04:48 +0000 (11:04 +0100)]
Fix compilation of tests/assemblyresolve with newer mcs-es.

13 years agoNew test
Marek Safar [Thu, 27 Jan 2011 09:04:43 +0000 (09:04 +0000)]
New test

13 years agoFix a warning
Marek Safar [Thu, 27 Jan 2011 09:01:50 +0000 (09:01 +0000)]
Fix a warning

13 years agoTests update
Marek Safar [Thu, 27 Jan 2011 08:59:01 +0000 (08:59 +0000)]
Tests update

13 years ago[667261] Fixes overload resolution of an optional parameter followed by a params...
Marek Safar [Thu, 27 Jan 2011 08:56:09 +0000 (08:56 +0000)]
[667261] Fixes overload resolution of an optional parameter followed by a params parameter of the same type

13 years agoDon't allocate anonymous method container when importing event fields
Marek Safar [Thu, 27 Jan 2011 08:55:17 +0000 (08:55 +0000)]
Don't allocate anonymous method container when importing event fields

13 years agoFix dist issues in Mono.Debugger.Soft.
Zoltan Varga [Thu, 27 Jan 2011 06:14:49 +0000 (07:14 +0100)]
Fix dist issues in Mono.Debugger.Soft.

13 years agoPrevent abort
Gonzalo Paniagua Javier [Thu, 27 Jan 2011 04:08:05 +0000 (23:08 -0500)]
Prevent abort

When cleaning up the sockets we no longer have access to Tls.