Back to "Memory Leak - risolto - o 'Quando STAThread va male'"

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 - risolto - o 'Quando STAThread va male'

Friday, 20 February 2004

Ho postato un po' di tempo fa su uno strano 'Memory Leak' che stavo avendo ... beh, dopo diversi giorni di pesca a strascico (e fastidioso Data Wantachi è email eccellente componente Stavo erroneamente incolpando - scusa!), ho finalmente trovato la risposta! [L'attributo STAThread] sopra la classe principale dell'app Comand Line non è poi così inocustico - ha sottolineato Dave questo thread - a quanto pare c'e' una specie di bug in .NET che può portare a ciò che è effettivamente una perdita quando si utilizza multi-threading in un'applicazione STAThreaded!

logo

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