Fix Service initialization (#2784)
This commit is contained in:
parent
1a6264ab7a
commit
5c85a20601
|
|
@ -33,7 +33,7 @@ using namespace lsplant;
|
||||||
|
|
||||||
|
|
||||||
namespace lspd {
|
namespace lspd {
|
||||||
std::unique_ptr<lspd::Context> lspd::Context::instance_;
|
std::unique_ptr<Context> Context::instance_;
|
||||||
std::unique_ptr<ConfigBridge> ConfigBridge::instance_;
|
std::unique_ptr<ConfigBridge> ConfigBridge::instance_;
|
||||||
|
|
||||||
Context::PreloadedDex::PreloadedDex(int fd, std::size_t size) {
|
Context::PreloadedDex::PreloadedDex(int fd, std::size_t size) {
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
using namespace lsplant;
|
using namespace lsplant;
|
||||||
|
|
||||||
namespace lspd {
|
namespace lspd {
|
||||||
std::unique_ptr<Service> Service::instance_;
|
std::unique_ptr<Service> Service::instance_ = std::make_unique<Service>();
|
||||||
|
|
||||||
jboolean
|
jboolean
|
||||||
Service::exec_transact_replace(jboolean *res, JNIEnv *env, [[maybe_unused]] jobject obj,
|
Service::exec_transact_replace(jboolean *res, JNIEnv *env, [[maybe_unused]] jobject obj,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue