#include "support/lassert.h"
#include "support/lstrings.h"
#include "support/os.h"
-#include "support/signals.h"
#include <iostream>
if (!write) {
// Make sure not to call read_ready after destruction.
weak_ptr<void> tracker = tracker_.p();
- theApp()->registerSocketCallback(fd, [=](){
+ theApp()->registerSocketCallback(fd, [this, tracker](){
if (!tracker.expired())
read_ready();
});