Closed mshin-wolvic closed 8 months ago
Personally I think it's better to add a null check instead of a try-catch. The reason is because having a null delegate is a valid code path more than an exceptional case, so I prefer to handle it as any other "normal" code path.
You could use this same PR to change the exception check that you added in #1256
Done
This patch adds NullPointerException since
mDelegate
can be null.