Displose of MTS connector properly in all cases.

git-svn-id: https://svn2.assembla.com/svn/romraider/trunk@366 38686702-15cf-42e4-a595-3071df8bf5ea
This commit is contained in:
Dale Schultz 2011-10-24 03:45:40 +00:00
parent f6f2fc3883
commit de9210e688
1 changed files with 1 additions and 1 deletions

View File

@ -78,11 +78,11 @@ public final class Lm2MtsDataSource implements ExternalDataSource {
)); ));
} }
} }
connector.dispose();
} }
else { else {
throw new IllegalStateException("Innovate LogWorks MTS control does not appear to be installed on this computer"); throw new IllegalStateException("Innovate LogWorks MTS control does not appear to be installed on this computer");
} }
connector.dispose();
} }
public String getId() { public String getId() {