SemanticParserService thread abort

SyntaxEditor for Windows Forms Forum

Posted 13 years ago by KC
Version: 4.0.0288
When my application exits I issue the command: ActiproSoftware.SyntaxEditor.SemanticParserService.Stop()

and then I receive an error message: ...'System.Threading.ThreadAbortException' occurred in mscorlib.dll

This indicates to me that the Stop is "aborting" the parser service thread instead of gracefully ending it which is not a good thing. Is there a way to avoid this error, or another way that I am supposed to end the SemanticParserService?

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Correct, when Stop is called, the parser thread is aborted. The thread is normally running external code (your parser code) so there's not really another way to immediately have it reliably quit.

Actipro Software Support

The latest build of this product (v24.1.0) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.