| 494 | } |
| 495 | |
| 496 | void NotificationsService::deinit() { |
| 497 | if (!_started) { |
| 498 | return; |
| 499 | } |
| 500 | |
| 501 | _started = false; |
| 502 | _notificationType = 0; |
| 503 | _token1 = ""; |
| 504 | _token2 = ""; |
| 505 | _settings = ""; |
| 506 | _serveraddress = ""; |
| 507 | _port = 0; |
| 508 | } |
| 509 | |
| 510 | NotificationsService::~NotificationsService() { |
| 511 | deinit(); |
nothing calls this directly
no outgoing calls
no test coverage detected