Back to "Memory Leak - opgelost - of 'When STAThread Goes Bad'"

This is a viewer only at the moment see the article on how this works.

To update the preview hit Ctrl-Alt-R (or ⌘-Alt-R on Mac) or Enter to refresh. The Save icon lets you save the markdown file to disk

This is a preview from the server running through my markdig pipeline

.NET C# Imported mostlylucidcouk

Memory Leak - opgelost - of 'When STAThread Goes Bad'

Friday, 20 February 2004

Ik postte een tijdje geleden over een vreemde 'Memory Leak' die ik had ... nou, na een paar dagen trawlen (en vervelend Data Wantawie is uitstekende e-mail component Ik was per ongeluk de schuld geven - sorry!), Ik eindelijk vond het antwoord! blijkt dat de kleine [STATHread] attribuut boven de hoofdklasse van de Comand Line-app is toch niet zo inoccuus - Dave wees erop deze thread - Blijkbaar is er een soort van bug in .NET die kan leiden tot wat effectief een lek is bij het gebruik van multi-threading in een STAThreaded toepassing!

logo

© 2026 Scott Galloway — Unlicense — All content and source code on this site is free to use, copy, modify, and sell.