Showing the changes to Source/Libraries/TimeSeriesPlatformLibrary/Samples/AdvancedPublish.cpp (1 of 9 files). Show all
Unified · Split
| @@ -183,9 +183,7 @@ int main(int argc, char* argv[]) · 182 unmodified lines | ||
| 183 | 183 | if (genHistory) |
| 184 | 184 | HistoryGenerator->StopArchive(); |
| 185 | 185 | |
| 186 | − // Disconnect the subscriber to stop background threads. | |
| 187 | − //Subscriber.Disconnect(); | |
| 188 | − cout << "Disconnected." << endl; | |
| 186 | + cout << "Publisher stopped." << endl; | |
| 189 | 187 | |
| 190 | 188 | return 0; |
| 191 | 189 | } |