Closed feywind closed 1 year ago
This just allows correct clean-up behaviour if OrderedQueue.publish() gets called more than once. This shouldn't usually happen, but it seems like the easiest fix for the race condition mentioned in the issue.
Fixes: https://github.com/googleapis/nodejs-pubsub/issues/1746
This just allows correct clean-up behaviour if OrderedQueue.publish() gets called more than once. This shouldn't usually happen, but it seems like the easiest fix for the race condition mentioned in the issue.
Fixes: https://github.com/googleapis/nodejs-pubsub/issues/1746