diff options
Diffstat (limited to 'cpp/examples/messaging/map_receiver.cpp')
-rw-r--r-- | cpp/examples/messaging/map_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/messaging/map_receiver.cpp b/cpp/examples/messaging/map_receiver.cpp index f97c44eebd..0106ce878c 100644 --- a/cpp/examples/messaging/map_receiver.cpp +++ b/cpp/examples/messaging/map_receiver.cpp @@ -46,7 +46,7 @@ int main(int argc, char** argv) { MapView content(message); std::cout << content << std::endl; session.acknowledge(); - receiver.cancel(); + receiver.close(); connection.close(); return 0; } catch(const std::exception& error) { |