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 | if (genHistory) | 183 | if (genHistory) |
| 184 | HistoryGenerator->StopArchive(); | 184 | HistoryGenerator->StopArchive(); |
| 185 | 185 | ||
| 186 | // Disconnect the subscriber to stop background threads. | 186 | cout << "Publisher stopped." << endl; |
| 187 | //Subscriber.Disconnect(); | ||
| 188 | cout << "Disconnected." << endl; | ||
| 189 | 187 | ||
| 190 | return 0; | 188 | return 0; |
| 191 | } | 189 | } |