mirror of
https://github.com/frida/frida-python
synced 2026-06-08 14:16:17 +00:00
Fix crash on EOF
This commit is contained in:
@@ -242,6 +242,8 @@ class ConsoleApplication(object):
|
||||
self._print("Waiting for USB device to appear...")
|
||||
|
||||
def _on_output(self, pid, fd, data):
|
||||
if data is None:
|
||||
return
|
||||
if fd == 1:
|
||||
prefix = "stdout> "
|
||||
stream = sys.stdout
|
||||
|
||||
Reference in New Issue
Block a user