Permalink
Browse files

make hash db index task non-cancellable for now

  • Loading branch information...
1 parent 16c0d5b commit e2d7cec3f058c6a9c18a6c88f4b819aaf3e9ea2f @adam-m adam-m committed Oct 10, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 HashDatabase/src/org/sleuthkit/autopsy/hashdatabase/HashDb.java
@@ -277,12 +277,16 @@ public int compareTo(HashDb o) {
@Override
protected Object doInBackground() throws Exception {
- progress = ProgressHandleFactory.createHandle("Indexing " + name, new Cancellable() {
+ progress = ProgressHandleFactory.createHandle("Indexing " + name);
+
+ /** We need proper cancel support in TSK to make the task cancellable
+ new Cancellable() {
@Override
public boolean cancel() {
return CreateIndex.this.cancel(true);
}
});
+ */
progress.start();
progress.switchToIndeterminate();
SleuthkitJNI.createLookupIndex(databasePaths.get(0));

0 comments on commit e2d7cec

Please sign in to comment.