Commit 4fac3f3b authored by Sebastian Woelke's avatar Sebastian Woelke

Fix use after free in unit test

parent d13d4928
......@@ -123,7 +123,7 @@ void check_order_event_based_actor(const check_order_t& corder) {
auto seq_it = sequence.cbegin();
{
auto tmp = system.spawn(
[=](event_based_actor* self) mutable {
[&](event_based_actor* self) {
self->set_default_handler(skip);
for(auto i : send_order) {
self->send(self, i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment