Branch: Tag:

2016-10-15

2016-10-15 14:53:25 by Stephen R. van den Berg <srb@cuci.nl>

pgsql: Guard against asynchronous destructs.

284:       private int write_cb() {    Thread.MutexKey lock = shortmux->lock(); +  if (this) { // Guard against async destructs    towrite -= output_to(socket, towrite);    lock = 0;    if (!i->fillread && !sizeof(this))    close(); -  +  }    return 0;    }