Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restart Fail: "Could not close the previous instance of this script. Keep waiting?" #114

Open
JamoCA opened this issue Nov 9, 2018 · 2 comments

Comments

@JamoCA
Copy link

JamoCA commented Nov 9, 2018

Occasionally Lintalist will start acting weird and stop auto-pasting. I have to then resort to pressing ALT+ENTER to copy the snippet or manually restart. If I choose "Reload Bundles (restarts Lintalist)", nothing happens. When I click on the AHK file to restart Lintalist, I get a message that states "Could not close the previous instance of this script. Keep waiting". I am then required to open Task Manager and manually kill the process in order to restart and auto-paste. (Could this be due to using the new admin-mode flag?)

Is this a known bug? If not, is there anything I can do to collect and provide more info?

@lintalist
Copy link
Owner

I would be useful to find the cause of the weird behaviour of course. If you spot a pattern do let me know, perhaps a combination of plugins or specific snippet code is the cause - it may be "stuck" in a loop somewhere of doesn't free up memory causing the program to act peculiar (I haven't experienced this in a very long time myself).

If the script is running as administrator and the file manager where you double click lintalist.ahk isn't also running as administrator that will indeed trigger the "Could not close..." warning. A non-admin script that tries to reload an Admin script usually does that - the script is launched as "user" at that point so it doesn't "know" it should be admin yet (my guess).

When Lintalist "acts weird" does:

  1. The "Exit Program Hotkey" work, default ctrl+win+q (^#q) - see configuration "ExitProgramHotkey" - once it is closed you should be able to start Lintalist.ahk again.
  2. Does the Tray menu, Exit option which also closes Lintalist work?

@lintalist
Copy link
Owner

v1.9.8.4 now uses an external script to close / restart Lintalist - hopefully that resolves it? Related to #127 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants