Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/SimplePublish.cpp (1 of 9 files). Show all
Unified · Split
| @@ -76,9 +76,7 @@ int main(int argc, char* argv[]) · 75 unmodified lines | |||
| 76 | PublishTimer->Stop(); | 76 | PublishTimer->Stop(); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | // Disconnect the subscriber to stop background threads. | 79 | cout << "Publisher stopped." << endl; |
| 80 | //Subscriber.Disconnect(); | ||
| 81 | cout << "Disconnected." << endl; | ||
| 82 | 80 | ||
| 83 | return 0; | 81 | return 0; |
| 84 | } | 82 | } |