Fix Skeleton3DEditor causing crash in sanitizer enabled builds
Fix Skeleton3DEditor causing crash in sanitizer enabled builds

The life cycle of the `Skeleton3DEditor` singleton is too short, and when it is destroyed,
part of the logic needs to be called when its child nodes exist.

BastiaanOlij/godot,vkbsb/godot,vkbsb/godot,sanikoyes/godot,guilhermefelipecgs/godot,vkbsb/godot,vkbsb/godot,BastiaanOlij/godot,sanikoyes/godot,Shockblast/godot,Shockblast/godot,pkowal1982/godot,josempans/godot,ZuBsPaCe/godot,BastiaanOlij/godot,sanikoyes/godot,ZuBsPaCe/godot,Shockblast/godot,guilhermefelipecgs/godot,Shockblast/godot,pkowal1982/godot,josempans/godot,pkowal1982/godot,vkbsb/godot,vkbsb/godot,josempans/godot,guilhermefelipecgs/godot,vkbsb/godot,pkowal1982/godot,guilhermefelipecgs/godot,josempans/godot,josempans/godot,godotengine/godot,guilhermefelipecgs/godot,guilhermefelipecgs/godot,BastiaanOlij/godot,godotengine/godot,ZuBsPaCe/godot,sanikoyes/godot,Shockblast/godot,Shockblast/godot,josempans/godot,godotengine/godot,BastiaanOlij/godot,BastiaanOlij/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,Shockblast/godot,pkowal1982/godot,Shockblast/godot,pkowal1982/godot,godotengine/godot,BastiaanOlij/godot,pkowal1982/godot,pkowal1982/godot,ZuBsPaCe/godot,josempans/godot,josempans/godot,godotengine/godot,godotengine/godot,guilhermefelipecgs/godot,sanikoyes/godot,guilhermefelipecgs/godot,godotengine/godot,vkbsb/godot,sanikoyes/godot,ZuBsPaCe/godot,ZuBsPaCe/godot,sanikoyes/godot,BastiaanOlij/godot,godotengine/godot,sanikoyes/godot