Skip to content

Commit

Permalink
fix: return if DynamicLibrary.open succeeds (media-kit#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
punxch authored Nov 25, 2023
1 parent 0ab6b10 commit 143e752
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions media_kit/lib/src/player/native/core/native_library.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ abstract class NativeLibrary {
try {
DynamicLibrary.open(name);
_resolved = name;
return;
} catch (_) {}
}
// If the dynamic library is not loaded, throw an [Exception].
Expand Down

0 comments on commit 143e752

Please sign in to comment.