diff --git a/lib/src/soloud.dart b/lib/src/soloud.dart index ba0f787..981e814 100644 --- a/lib/src/soloud.dart +++ b/lib/src/soloud.dart @@ -292,6 +292,7 @@ interface class SoLoud { // the release of the native player. // Just deinit the engine to be re-inited later. if (SoLoudController().soLoudFFI.isInited()) { + _log.warning("init() called when the native player is already initialized. This is expected after a hot restart but not otherwise. If you see this in production logs, there's probably a bug in your code. You may have neglected to deinit() SoLoud during the current lifetime of the app."); deinit(); }