[
https://issues.apache.org/jira/browse/AMQCPP-474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish resolved AMQCPP-474.
---------------------------------
Resolution: Fixed
fixed on trunk
> On closing a connection, ActiveMQ raises the exception: StlMap modified
> outside this iterator
> ---------------------------------------------------------------------------------------------
>
> Key: AMQCPP-474
> URL: https://issues.apache.org/jira/browse/AMQCPP-474
> Project: ActiveMQ C++ Client
> Issue Type: Bug
> Components: CMS Impl
> Affects Versions: 3.6.0
> Environment: Windows 7 (32 bits) with Visual C++ 2010
> Reporter: Daniel Laügt
> Assignee: Timothy Bish
> Priority: Minor
> Fix For: 3.7.0
>
> Attachments: ActiveMQConnection.cpp.patch, test.cc
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> By closing the connection, activeMQ iterates on config.activeTempDestinations
> to close the active temporary destinations. The method
> ActiveMQTempDestination.close() removes the destination from
> config.activeTempDestinations. So the iterator is invalid for the next
> iterations.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira