mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
Merge pull request #3413 from MintYiqingchen/master
fix null point bug because omit calling createInstance
This commit is contained in:
commit
2105778026
@ -441,6 +441,7 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
platformInit();
|
||||
g_network = newNet2(TLSConfig(), false, true);
|
||||
FlowTransport::createInstance(!isServer, 0);
|
||||
NetworkAddress publicAddress = NetworkAddress::parse("0.0.0.0:0");
|
||||
if (isServer) {
|
||||
publicAddress = NetworkAddress::parse("0.0.0.0:" + port);
|
||||
|
Loading…
x
Reference in New Issue
Block a user