DisconnectedContext was detected
Message: Context 0x33567b8′ is disconnected. Releasing the interfaces from the current context (context 0×3356648).This may cause corruption or data loss. To avoid this problem, please ensure that all contexts/apartments stay alive until the applicationis completely done with the RuntimeCallableWrappers that represent COM components that liveinside them.
One way to avoid this error seems to build the project in release configuration without any debug information.
I will update this post when I have a reproducible generic code.
