mercredi 27 septembre 2017

Aborting a stuck method after a timeout

Our program is executing unknown methods from a DLL. Sometimes those methods won't handle timeouts and will never return a value.

Thus, our Methodinfo.invoke(...) will be stuck on this line forever.

Is there any decent way to abort our method? I understand that i should probably run this method asyncronious which is no problem.





Aucun commentaire:

Enregistrer un commentaire