Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
fix: fixed crashing when has no inbounds and no V2ray Integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Qv2ray-dev authored and Qv2ray-dev committed Jul 8, 2020
1 parent d95732f commit 4fea306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ bool TrojanKernel::StartKernel()
if (socksPort == 0 && httpPort == 0)
{
emit OnKernelCrashed("Both HTTP and SOCKS inbounds are disabled.");
return false;
}
if (socksPort == 0)
{
Expand Down

0 comments on commit 4fea306

Please sign in to comment.