diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/examples/topic_listener.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/topic_listener.cpp b/cpp/examples/topic_listener.cpp index a5de89a736..799d564aa2 100644 --- a/cpp/examples/topic_listener.cpp +++ b/cpp/examples/topic_listener.cpp @@ -80,7 +80,7 @@ int main() { channel.start(); while (!done) - ; + sleep(1000); //----------------------------------------------------------------------------- channel.close(); |