Actions
Bug #3579
closedCtrl+Break doesn't breaking an code execution
Start date:
07/13/2017
Due date:
% Done:
0%
Estimated time:
Operative System:
All
Regression:
No
Description
Hello,
I tried to break an code execution but CTRL+Break key shortcut didn't really acting and forcing adiirc to stuck.
Example Code (IT WILL FORCE ADIIRC TO STUCK):
alias test_break {
var %t = 50
var %i = 1
while (%i <= %t) {
}
}
- Thanks!
Updated by Per Amundsen over 7 years ago
- Status changed from New to Rejected
When the GUI thread is locked running a loop it doesn't respond to keyboard events in .NET.
Updated by Per Amundsen over 7 years ago
- Status changed from Rejected to Resolved
I figured out a workaround, polling for keyboard state outside AdiIRC GUI thread, I added a poll each time a /while or /goto line is executed, I am not sure of the performance loss doing it like that, we'll see.
Actions