We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51c8c97 commit 5c276a0Copy full SHA for 5c276a0
src/interceptors/frida/frida-android-interceptor.ts
@@ -93,9 +93,11 @@ export class FridaAndroidInterceptor implements Interceptor {
93
serverStream.destroy();
94
});
95
96
- await Promise.all(this.interceptedApps[proxyPort]?.map(async fridaSession => {
97
- await killProcess(fridaSession).catch(() => {});
98
- }));
+ const fridaSessions = this.interceptedApps[proxyPort] ?? [];
+
+ await Promise.all(fridaSessions.map((session) =>
99
+ killProcess(session).catch(() => {})
100
+ ));
101
}
102
103
async deactivateAll(): Promise<void | {}> {
0 commit comments