• unknown's avatar
    Fix Bug #19044 IM aborts on exit · 1adc1368
    unknown authored
    On windows IM aborted on assert once one
    stoppped it. The reason is that we didn't
    close the sockets on windows and therefore,
    the listener thread wasn't able to finish.
    This happened because we used close() call
    for it. While on windows one should use
    closesocket().
    On other platfroms we have appropriate defines
    for closesocket(), so this is the function which
    should be used.
    
    
    server-tools/instance-manager/listener.cc:
      close -> closesocket
    1adc1368
listener.cc 10.3 KB