[GitHub] [camel] davsclaus commented on pull request #8303: [CAMEL-18472] lock 'model' in 'removeRoute' first to avoid deadlock

2022-09-07 Thread GitBox
davsclaus commented on PR #8303: URL: https://github.com/apache/camel/pull/8303#issuecomment-1239649815 LGTM -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To

[GitHub] [camel] davsclaus commented on pull request #8303: [CAMEL-18472] lock 'model' in 'removeRoute' first to avoid deadlock

2022-09-07 Thread GitBox
davsclaus commented on PR #8303: URL: https://github.com/apache/camel/pull/8303#issuecomment-1239648804 The method `disposeModel` is used when in lightweight mode to clear the definition classes for runtimes where you do not dynamic add/remove routes. So even if model is null then an