Skip to content

Commit 3b1caa6

Browse files
256dpideadprogram
authored andcommitted
fix: ensured ordered notification delivery on darwin
1 parent 6a7aee4 commit 3b1caa6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gap_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ func (pd *peripheralDelegate) DidUpdateValueForCharacteristic(prph cbgo.Peripher
227227

228228
if char.characteristic == chr && uuid == char.UUID() { // compare pointers
229229
if err == nil && char.callback != nil {
230-
go char.callback(chr.Value())
230+
char.callback(chr.Value())
231231
}
232232

233233
if char.readChan != nil {

0 commit comments

Comments
 (0)