-
Notifications
You must be signed in to change notification settings - Fork 30
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
Mac: Cmd+q appears to quit APL but can leave "invisible" background process running. #136
Comments
This might be an unfortunate consequence of 8d08385 where we "detached" spawned APL processes from the main RIDE process, in order to make things work better on Windows. |
Assuming that the interpreter is legitimately "busy", we may want RIDE to wait until the APL process has gone before it closes. Of course, it's also possible that the interpreter is illegitimately stuck during its exit.
Does this happen all the time?
/JD
From: jayfoad [mailto:notifications@github.com]
Sent: 21 March 2017 09:41
To: Dyalog/ride <ride@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: Re: [Dyalog/ride] Mac: Cmd+q appears to quit APL but can leave "invisible" background process running. (#136)
This might be an unfortunate consequence of <8d08385> 8d08385 where we "detached" spawned APL processes from the main RIDE process, in order to make things work better on Windows.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#136 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AKU_CbpG_HqOea7_Vc0_WEFmSFar3BQuks5rn5s3gaJpZM4MjgtJ> . <https://github.com/notifications/beacon/AKU_CdKtRxoc5MmlAcoJ8iPx7n7E2SaUks5rn5s3gaJpZM4MjgtJ.gif>
|
I think that Cmd+q on a Mac means "quit the application", like Alt+F4 on Windows. Some Mac apps, such as VM-ware, seem to trap this and do some emergency saving of state, but they then exit cleanly, releasing their resources.
FWIW: I use Cmd+q all the time because I use loads of apps and can't be arsed to learn each one's particular way out.
… On 21 Mar 2017, at 09:44, johndaintree ***@***.***> wrote:
Assuming that the interpreter is legitimately "busy", we may want RIDE to wait until the APL process has gone before it closes. Of course, it's also possible that the interpreter is illegitimately stuck during its exit.
Does this happen all the time?
/JD
From: jayfoad ***@***.***
Sent: 21 March 2017 09:41
To: Dyalog/ride ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [Dyalog/ride] Mac: Cmd+q appears to quit APL but can leave "invisible" background process running. (#136)
This might be an unfortunate consequence of <8d08385> 8d08385 where we "detached" spawned APL processes from the main RIDE process, in order to make things work better on Windows.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub <#136 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AKU_CbpG_HqOea7_Vc0_WEFmSFar3BQuks5rn5s3gaJpZM4MjgtJ> . <https://github.com/notifications/beacon/AKU_CdKtRxoc5MmlAcoJ8iPx7n7E2SaUks5rn5s3gaJpZM4MjgtJ.gif>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub <#136 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AH_E5wnxpZsywQ61N_iIQkF1i_FuzfWLks5rn5wPgaJpZM4MjgtJ>.
|
I've fixed this in interpreter version 17.0.31160 for the case where the interpreter is weak-interruptible. You still get the same problem with loops like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
RIDE Issue Report
Describe the issue you are having
If an APL process is looping, typing Cmd+q, or the equivalent using the Force Quit ... menu, kills the session window but leaves a dyalog process running.
Did you connect to an already running interpreter or start the interpreter from RIDE?
No
How do you reproduce the issue?
Now type Cmd+q ... Quit Dyalog APL. Are you sure? Yes
The application appears to quit and disappears from the ->Force Quit... list of running applications. However, the dyalog process continues to run, using 100% of a core.
Paste the contents of Help → About (Shift+F1)
IDE:
Version: 4.0.2749
Platform: MacIntel
Date: 2017-03-17 13:59:13 +0000
Git commit: f75e3cf
Preferences:{
"lineNums":"0",
"zoom":"7"
}
Interpreter:
Version: 16.0.29523
Platform: Mac-64
Edition: Unicode/64
Date: Mar 19 2017 at 02:32:01
The text was updated successfully, but these errors were encountered: