Warn when registering RefCounted as engine singleton
The `Engine::Singleton` struct stores a raw `Object *`, so registering a `RefCounted` only works if some external `Ref<>` keeps it alive. This pattern is fragile and can lead to UB, especially with GDExtension.
J
Jan Haller committed
dd29447f44e0e59a88cc1ff08ab30563a6233326
Parent: 1078619