It seems to me that libpd crashes if one closes a patch (PdBase::closePatch(patch)) and then something (such as a constantly running “processBlock” -loop) calls PdBase::processFloat (or any of the other process-functions).
Therefore, is there a built-in way to check whether the patch is loaded or not, that is, whether libpd can process audio or not?