[ffigen] Nicer error messages when ObjC Blocks are invoked after deletion. #200
Labels
good first issue
A good starting issue for contributors (issues with this label will appear in /contribute)
package:ffigen
Currently if an ObjC block is invoked by native code after it has been deleted, we get a null assertion failure here, because
block.ref.target.address
is some junk value:Instead we should throw an exception with an error message explaining that this is probably caused by the block having been deleted.
The text was updated successfully, but these errors were encountered: