MULE-7293: Log debug info only when debug is enabled.
MULE-7293: Direct dispose lost objects on dispose phase in order to ensure they are disposed.
MULE-7293: Check debug state before log stacktrace.
Merge pull request #396 from mulesoft/MULE-7293

Mule 7293