0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

construct: Remove/simplify this for now.

This commit is contained in:
Jason Volk 2018-07-02 02:34:28 -07:00
parent b6f7a64c4c
commit 4a0a89cce9

View file

@ -58,8 +58,7 @@ lgetopt opts[] =
std::unique_ptr<boost::asio::io_context> ios
{
// Having trouble with static destruction in clang so this
// has to become still-reachable
// Having trouble with static dtor in clang so this has tp be dynamic
std::make_unique<boost::asio::io_context>()
};
@ -68,11 +67,6 @@ boost::asio::signal_set sigs
*ios
};
// TODO: XXX: This has to be declared first before any modules
// are loaded otherwise the module will not be unloadable.
boost::asio::ip::tcp::acceptor _dummy_acceptor_ { *ios };
boost::asio::ip::tcp::socket _dummy_sock_ { *ios };
int main(int argc, char *const *argv)
try
{