kean / Pulse

Network logger for Apple platforms
https://pulselogger.com
MIT License
6.25k stars 296 forks source link

Pulse for Mac is not connecting automatically after the app is closed #191

Closed hugovanderlei closed 1 year ago

hugovanderlei commented 1 year ago

Pulse for Mac is not connecting automatically as before. If I close the app and run it again, the logs don't come through, I need to close Pulse and open it again to work.

kean commented 1 year ago

Thanks for the report. I also noticed it during testing and will address it shortly.

The root cause is in the new session management code introduced in Pulse 3.6.0. In Pulse Pro, there was no session management, and all logs were recorded in the same session. Pulse for Mac, on the other hand, supports session management introduced in Pulse 3.6.0. When you relaunch the app with Pulse installed, it starts a new session, but Pulse for Mac does not yet automatically switch to a new session.

As a workaround, you can select the latest session in the session picker or in the Sessions navigator.

Screenshot 2023-05-12 at 7 12 05 PM Screenshot 2023-05-12 at 7 15 40 PM
kean commented 1 year ago

Fixed in 4.0.0 (4).

I also added the following option to Settings:

image

If you disable it, it'll keep showing all previously recorded sessions when the new one starts.

hugovanderlei commented 1 year ago

Thank you very much, I tested it and it's working perfectly.