joomla/joomla-framework — pull request #137 by elinw (2013-04-22 05:12:43+00:00)
Title: Don't try to close a connection that does not exist.

This generates warnings when the connection does not exist. Instead, don't even try to close it.