-
Notifications
You must be signed in to change notification settings - Fork 73
Cancelling new addin causes crash #510
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
Comments
Thanks for reporting @oliverbeagley. I noted that during testing, but I thought it was a problem related to with_handlers({
transformers <- eval(parse(text = new_style))
style_text(c("a = 2", "function() {", "NULL", "}"))
},
error = function(e) {
abort(paste0(
"The selected style transformers \"",
new_style, "\" is not valid: ", e$message
))
}
) I have not experienced a crash of R tough. Just errors. Anyways, it should be fixe with #511. Do you want to test it? |
Yeah, thats fixed it on my end as well now. For me it didn't crash the first few times, only when I restarted RStudio, then I couldn't get it to not crash. |
Ok, thanks. I'll close that then. |
The new addin does not exit properly when cancel is pressed.
Then console lines switch to starting with
?
, pressing enter does nothing and typing any garbage in causes the session to crash.Using
esc
to exit this state works thoughSession info if required:
Screenshots of the problem:
The text was updated successfully, but these errors were encountered: