diff options
| author | ralph isenmann | 2021-07-08 13:33:16 +0200 |
|---|---|---|
| committer | ralph isenmann | 2021-07-08 13:56:13 +0200 |
| commit | 979600aafff02a83172dad80136debc54684b477 (patch) | |
| tree | 5e34c4eb2e5d5c1fea9794d51a1fc8902be7717e /dozentenmodulserver/src/main/java | |
| parent | [server] Refactor printing of app information from MANIFEST.MF (diff) | |
| download | tutor-module-979600aafff02a83172dad80136debc54684b477.tar.gz tutor-module-979600aafff02a83172dad80136debc54684b477.tar.xz tutor-module-979600aafff02a83172dad80136debc54684b477.zip | |
[client] fix blocking of dozmod during the finale state of a image download
The current thread in DownloadPanel.update() already has a lock on listeners (see TransferTask.fireEvent(..)).
super.update() tiggers an update of the GUI (awt-thread) in which a synchronized block on listeners is also entered, which results in blocking.
Now, in the case event.state == FINISHED, we want to enable the button, which is is done in an awt-thread, which is already blocking.
Diffstat (limited to 'dozentenmodulserver/src/main/java')
0 files changed, 0 insertions, 0 deletions
