Skip to content

Commit

Permalink
Update lib/src/soloud.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Hracek <filiph@users.noreply.github.com>
  • Loading branch information
alnitak and filiph authored May 6, 2024
1 parent 9723100 commit 79db736
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/soloud.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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.");

Check notice on line 295 in lib/src/soloud.dart

View workflow job for this annotation

GitHub Actions / Analyze code and requirements

The line length exceeds the 80-character limit.

Try breaking the line across multiple lines. See https://dart.dev/lints/lines_longer_than_80_chars to learn more about this problem.
deinit();
}

Expand Down

0 comments on commit 79db736

Please sign in to comment.