Of course, but an assertion is not necessarily a crash. Are you saying it actually crashes?
OK - just tried it. It behaves correctly and isn’t an issue at all in a release build, but I’ll move a couple of statements around just to avoid the assertion firing unnecessarily in debug builds.
Hi Jules, no there was no actual crash, just failing the assertion.
Thanks for checking into that. I prefer to play it safe and assume that wherever assertions are being hit, self-consistency might be compromised.