Skip to content

Commit

Permalink
fruity: Make find_usbmux_device() non-throwing
Browse files Browse the repository at this point in the history
  • Loading branch information
hsorbo authored and oleavr committed Aug 2, 2024
1 parent 100b7a6 commit 6a1e373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fruity/device-monitor.vala
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ namespace Frida.Fruity {
transports.clear ();
}

public UsbmuxDevice? find_usbmux_device () throws Error {
public UsbmuxDevice? find_usbmux_device () {
var transport = transports.first_match (t => t.usbmux_device != null && t.connection_type == USB);
if (transport == null)
transport = transports.first_match (t => t.usbmux_device != null);
Expand Down

0 comments on commit 6a1e373

Please sign in to comment.