Add safety-checks before some servers free()
This commit is contained in:
@@ -1701,5 +1701,6 @@ CPUParticles3D::CPUParticles3D() {
|
||||
}
|
||||
|
||||
CPUParticles3D::~CPUParticles3D() {
|
||||
ERR_FAIL_NULL(RenderingServer::get_singleton());
|
||||
RS::get_singleton()->free(multimesh);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user