Changeset 938


Ignore:
Timestamp:
Nov 14, 2010, 4:35:26 PM (7 years ago)
Author:
stefan
Message:

fixed bug #135: JLE consumes 100% CPU (1 core) until the document you are working on is not saved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/jlatexeditor/codehelper/BackgroundParser.java

    r918 r938  
    8989      }
    9090      AbstractResource resource = editor.getResource();
    91       if (!(resource instanceof Doc.FileDoc)) continue;
     91      if (!(resource instanceof Doc.FileDoc)) {
     92        try {
     93          sleep(1000);
     94        } catch (InterruptedException e2) {
     95          return;
     96        }
     97        continue;
     98      }
    9299
    93100      File file = ((Doc.FileDoc) resource).getFile();
Note: See TracChangeset for help on using the changeset viewer.