Fix notinifcation posting to refrain from coalescing

This commit is contained in:
Richard Frith-Macdonald 2020-01-22 12:29:27 +00:00
parent ec590a5253
commit bb47241044
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2020-01-22 Richard Frith-Macdonald <rfm@gnu.org>
* Postgres.m: Fix notification posting to refrain from coalescing.
2019-12-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Postgres.m: Hide database connection password from debug logs.

View file

@ -582,7 +582,10 @@ connectQuote(NSString *str)
/* Post asynchronously
*/
nq = [NSNotificationQueue defaultQueue];
[nq enqueueNotification: n postingStyle: NSPostASAP];
[nq enqueueNotification: n
postingStyle: NSPostASAP
coalesceMask: NSNotificationNoCoalescing
forModes: nil];
}
/* This method must only be called when the receiver is locked.