We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b65869 commit 8fe3c5aCopy full SHA for 8fe3c5a
packages/frida-tools/src/internal/session.ts
@@ -98,11 +98,11 @@ export const attach = (
98
> => {
99
const acquire = Effect.flatMap(FridaDevice.FridaDevice, ({ device }) =>
100
Effect.tryPromise({
101
- try: (signal) => {
+ try: async (signal) => {
102
const cancellable = new Frida.Cancellable();
103
signal.onabort = () => cancellable.cancel();
104
console.log("here0");
105
- const session = device.attach(target, options, cancellable);
+ const session = await device.attach(target, options, cancellable);
106
console.log("here1");
107
return session;
108
},
0 commit comments