Add safety-checks before some servers free()
This commit is contained in:
parent
a754930918
commit
ea33001b95
65 changed files with 125 additions and 1 deletions
|
|
@ -1405,6 +1405,7 @@ GridMapEditor::GridMapEditor() {
|
|||
}
|
||||
|
||||
GridMapEditor::~GridMapEditor() {
|
||||
ERR_FAIL_NULL(RenderingServer::get_singleton());
|
||||
_clear_clipboard_data();
|
||||
|
||||
for (int i = 0; i < 3; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue