Prevent another crash in ~SocketApi #3118
authorJocelyn Turcotte <jturcotte@woboq.com>
Fri, 17 Apr 2015 10:30:54 +0000 (12:30 +0200)
committerJocelyn Turcotte <jturcotte@woboq.com>
Fri, 17 Apr 2015 10:42:40 +0000 (12:42 +0200)
commit155c96586648588ef73edc91c4198d6e3738a2f9
treefa03b2c4565442466c92b0daf95df607b7db185b
parent6c73f25747b3e3ddb93c0a005baffffbf172ae36
Prevent another crash in ~SocketApi #3118

Since the QLocalServer parent of the QLocalSockets gets destroyed
after the _listeners QList, onLostConnection might try to update
an already destroyed list.

Fix the issue by simply making sure that _localServer is destroyed
first.
src/gui/socketapi.h