Delphi-Mocks icon indicating copy to clipboard operation
Delphi-Mocks copied to clipboard

TObjectProxy.Destroy raises "Invalid pointer operation".

Open joaofrassetto opened this issue 7 years ago • 1 comments

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.

joaofrassetto avatar May 19 '17 19:05 joaofrassetto

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?

vincentparrett avatar Apr 10 '20 03:04 vincentparrett