When qemu is entering lock mode, it's better to use asyncExec to run the
runnable. Because it won't block the whole process to communicate with the
emulator process. If the communication is blocked, the qemu will crash.
Change-Id: Ifeaab44cf89d8a847b2237e59413c2445d419535
Signed-off-by: Tina Zhang <tina.zhang@intel.com>
@Override
public void setCoverImage(final Image image) {
- Display.getDefault().syncExec(new Runnable() {
+ Display.getDefault().asyncExec(new Runnable() {
@Override
public void run() {
imageCover = image;