I'm trying to implement a singleton class, that holds a com object inside it. Class implements IDisposable interface, but when I try to implement a finalization method, I get an exception of access to com object from another thread.
This happens because clr uses a different thread when finalizes objects.
Is there any way to implement such a thing or maybe I just doing something wrong?