mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 16:04:15 +01:00
construct: Remove/simplify this for now.
This commit is contained in:
parent
b6f7a64c4c
commit
4a0a89cce9
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue