mirror of
https://github.com/matrix-construct/construct
synced 2025-02-17 01:00:10 +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
|
std::unique_ptr<boost::asio::io_context> ios
|
||||||
{
|
{
|
||||||
// Having trouble with static destruction in clang so this
|
// Having trouble with static dtor in clang so this has tp be dynamic
|
||||||
// has to become still-reachable
|
|
||||||
std::make_unique<boost::asio::io_context>()
|
std::make_unique<boost::asio::io_context>()
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -68,11 +67,6 @@ boost::asio::signal_set sigs
|
||||||
*ios
|
*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)
|
int main(int argc, char *const *argv)
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue