提交 79690489 编写于 作者: S Serge Rider

Save drivers registry after download


Former-commit-id: a6a54609
上级 8b080af5
......@@ -35,6 +35,7 @@ import org.jkiss.dbeaver.model.connection.DBPDriverLibrary;
import org.jkiss.dbeaver.model.runtime.DBRProgressMonitor;
import org.jkiss.dbeaver.model.runtime.DBRRunnableContext;
import org.jkiss.dbeaver.model.runtime.DBRRunnableWithProgress;
import org.jkiss.dbeaver.registry.DataSourceProviderRegistry;
import org.jkiss.dbeaver.registry.driver.DriverDependencies;
import org.jkiss.dbeaver.registry.driver.DriverDescriptor;
import org.jkiss.dbeaver.runtime.DefaultProgressMonitor;
......@@ -328,6 +329,7 @@ class DriverDownloadAutoPage extends DriverDownloadPage {
try {
runnableContext.run(true, true, new LibraryDownloader());
DataSourceProviderRegistry.getInstance().saveDrivers();
} catch (InvocationTargetException e) {
UIUtils.showErrorDialog(getShell(), "Driver download", "Error downloading driver files", e.getTargetException());
} catch (InterruptedException e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册