Delphi-Mocks
Delphi-Mocks copied to clipboard
TObjectProxy.Destroy raises "Invalid pointer operation".
After a test case, before the TearDown
method, a exception EInvalidPointer with message 'Invalid pointer operation' is raised. The debugger show that a mock is being destroyed in TObjectProxy.Destroy
. The mock is created on a class, not an interface, and this class implements two interfaces.
Not too much information, but this is what I got.
I really appreciate any help you can provide.
Trying to clean up issues, apologies for not getting to this sooner. Did you ever resolve this? If not, can you show the code that was causing this av?