Quantcast
Channel: ASP.NET MVC / Web API / Web Pages
Viewing all articles
Browse latest Browse all 7925

Commented Issue: Razor background parse thread is not IsBackground [688]

$
0
0
The RazorEditorParser's background parser thread (System.Web.Razor/Editor/BackgroundParser.cs) does not have its IsBackground property set to true, which means it prevents the process from terminating unless the RazorEditorParser is explicitly disposed.
Comments: It's also impossible to catch exceptions from this thread, which means that if they happen, they'll bring down the process - even though completion is not critical functionality, and users would probably prefer to lose the completion functionality than to lose their work...

Viewing all articles
Browse latest Browse all 7925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>