[PR #767] [MERGED] Add OnDisconnecting service callback #14210

Closed
opened 2026-08-05 02:09:35 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/767
Author: @pappz
Created: 3/28/2023
Status: Merged
Merged: 3/29/2023
Merged by: @pappz

Base: mainHead: fix/disconnecting_notification_mobile


📝 Commits (1)

  • 43dea18 Add OnDisconnecting service callback

📊 Changes

4 files changed (+23 additions, -1 deletions)

View changed files

📝 client/internal/connect.go (+1 -0)
📝 client/internal/peer/listener.go (+1 -0)
📝 client/internal/peer/notifier.go (+16 -1)
📝 client/internal/peer/status.go (+5 -0)

📄 Description

Describe your changes

Add OnDisconnecting service callback for mobile

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/767 **Author:** [@pappz](https://github.com/pappz) **Created:** 3/28/2023 **Status:** ✅ Merged **Merged:** 3/29/2023 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `main` ← **Head:** `fix/disconnecting_notification_mobile` --- ### 📝 Commits (1) - [`43dea18`](https://github.com/netbirdio/netbird/commit/43dea18ba4971a7d40b0d02548a6e1b854fdb937) Add OnDisconnecting service callback ### 📊 Changes **4 files changed** (+23 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/connect.go` (+1 -0) 📝 `client/internal/peer/listener.go` (+1 -0) 📝 `client/internal/peer/notifier.go` (+16 -1) 📝 `client/internal/peer/status.go` (+5 -0) </details> ### 📄 Description ## Describe your changes Add OnDisconnecting service callback for mobile ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:09:35 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#14210