pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-10-15
2016-10-15 14:53:25 by Stephen R. van den Berg <srb@cuci.nl>
cfcb4c8a8f2d7915710509d7386eadc3258a68a7 (
11
lines) (+
7
/-
4
)
[
Show
|
Annotate
]
Branch:
8.1
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; }