// sure the parser is disposed (e.g. temp files are removed) if an error occurs. In debug mode
// we leave the files were they are, so that we can look at them.
// Note that the duplicate call to dispose() that takes place in release mode on success is ok,
// since the second call is a no-op (see contract of WsdlParser.dispose()).
if (!DebugMode.IS_ENABLED) {
parser.dispose();
}
}
}