thomascube
2012-05-04 be160b9da23e77996e7c83a3f5c5158aa7e22d17
Fix multi-threaded autocompletion when number of threads > number of sources
1 files modified
2 ■■■ changed files
program/js/app.js 2 ●●● patch | view | raw | blame | history
program/js/app.js
@@ -3796,7 +3796,7 @@
    for (i=0; i<threads; i++) {
      source = this.ksearch_data.sources.shift();
      if (threads > 1 && source === null)
      if (threads > 1 && source === undefined)
        break;
      lock = this.display_message(this.get_label('searching'), 'loading');