[GH-ISSUE #144] Put close_instagram(device_id) at the end of the main class #112

Closed
opened 2026-03-02 23:38:06 +03:00 by kerem · 1 comment
Owner

Originally created by @Cangarw on GitHub (Oct 18, 2020).
Original GitHub issue: https://github.com/alexal1/Insomniac/issues/144

I had sometimes the problem that Instagram did some random pop up or similar things that made the script crash.

While crashing, the script leaves the app open on the phone. This opened app could probably trigger the bot detection from Instagram.

Could you just put a close_instagram(device_id) at the end of the main function?
This solved the issue for me. And at the next start there will be a freshly opened Instagram app. 👍

Originally created by @Cangarw on GitHub (Oct 18, 2020). Original GitHub issue: https://github.com/alexal1/Insomniac/issues/144 I had sometimes the problem that Instagram did some random pop up or similar things that made the script crash. While crashing, the script leaves the app open on the phone. This opened app could probably trigger the bot detection from Instagram. Could you just put a `close_instagram(device_id)` at the end of the main function? This solved the issue for me. And at the next start there will be a freshly opened Instagram app. 👍
kerem closed this issue 2026-03-02 23:38:07 +03:00
Author
Owner

@Fadude commented on GitHub (Nov 30, 2020):

Will be added the next release (v3.4.1)

<!-- gh-comment-id:735621159 --> @Fadude commented on GitHub (Nov 30, 2020): Will be added the next release (v3.4.1)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Insomniac#112
No description provided.