Hi Aspose Support,
we have a serious problem with the Aspose.Email 22.214.171.124 Assembly released this week.
If the MailPrinter.Print method is called to convert a msg-file into a xps-file, a thread is created, that does not finish properly. This causes a fatal behaviour on closing our windows client software. The windows application shuts down, but the process stays running and can only be terminated by cancellation in the task manager. The user does not realize the situation and ends up in trouble caused by the left over client processes (running out of memory, updates fail because file is in use etc.).
For your diagnosis, I created a little example project attached to this post. Just start the application, select a msg file and push the 'Convert to XPS' button. A xps file with the same name will be created in the msg file directory. The conversion works correct. Now close the windows application. You will see the process never ends.
Calling Environment.Exit(0) on closing the application is not a tolerable option for us.
We downgraded for the moment to Aspose.Email 126.96.36.199 wich does not produce this error.
This is urgent.