diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-10-16 13:33:12 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-10-16 13:33:12 +0100 |
commit | 1e63a7a0fd27676015b8ae4a033628d6e3157287 (patch) | |
tree | cfee59b99741f8379b4241018588dddf64f57a78 | |
parent | 56652ec39b38f7be1dd23fb8287b8d9b23136d9b (diff) | |
download | rabbitmq-server-bug25822.tar.gz |
Oopsbug25822
-rw-r--r-- | src/rabbit_binding.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl index bfe31ef7..5ff96c23 100644 --- a/src/rabbit_binding.erl +++ b/src/rabbit_binding.erl @@ -405,9 +405,9 @@ remove_routes(Routes) -> %% Of course the destination might not really be durable but it's %% just as easy to try to delete it from the semi-durable table %% than check first - [ok = sync_route(R, false, true, fun mnesia:delete_object/3) || + [ok = sync_route(R, false, true, fun mnesia:delete_object/3) || R <- RamRoutes], - [ok = sync_route(R, false, false, fun mnesia:delete_object/3) || + [ok = sync_route(R, true, true, fun mnesia:delete_object/3) || R <- DiskRoutes], [R#route.binding || R <- Routes]. |