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 | 44d7b96c6d24c48359f16ef757694d21120f21f9 (patch) | |
| tree | cfee59b99741f8379b4241018588dddf64f57a78 /src | |
| parent | 18db8599e02bde4d18602dd07dbc570495b60fac (diff) | |
| download | rabbitmq-server-git-44d7b96c6d24c48359f16ef757694d21120f21f9.tar.gz | |
Oops
Diffstat (limited to 'src')
| -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 bfe31ef7c5..5ff96c23e4 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]. |
