Skip to content

Commit 395674d

Browse files
committed
made sure the wait for application finish happened before the output was written
1 parent 1f97ecd commit 395674d

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# jnitrace Change Log
22

3+
## 3.2.1
4+
- Fixed bug where output was being written before the tracing was complete
5+
36
## 3.2.0
47
- Added support for connecting to a remote Frida server
58

jnitrace/jnitrace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -623,12 +623,12 @@ def main():
623623
if args.inject_method == "spawn":
624624
device.resume(pid)
625625

626+
_wait_for_finish()
627+
626628
if args.output:
627629
json.dump(formatter.get_output(), args.output, indent=4)
628630
args.output.close()
629631

630-
_wait_for_finish()
631-
632632
_finish(args, device, pid, scripts)
633633

634634
if __name__ == '__main__':

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jnitrace",
3-
"version": "3.2.0",
3+
"version": "3.2.1",
44
"description": "A tool for tracing use of the JNI in Android apps",
55
"private": true,
66
"main": "jnitrace/src/main.js",

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='jnitrace',
11-
version='3.2.0',
11+
version='3.2.1',
1212
description='A tool for tracing use of the JNI in Android apps',
1313
long_description=long_description,
1414
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)