* @param connectionsToDelete
* the Connections to delete
*/
private void deleteConnections( List<Connection> connectionsToDelete )
{
new StudioConnectionJob( new CloseConnectionsRunnable( connectionsToDelete ) ).execute();
for ( Connection connection : connectionsToDelete )
{
ConnectionCorePlugin.getDefault().getConnectionManager().removeConnection( connection );
}
}