Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ all: clean gen
.PHONY: clean
clean:
rm -rf ${PWD}/bin/*
rm -rf ${PWD}/cache/*

.PHONY: gen
gen: go-gen-proto rs-gen-proto ee/psso/gen
Expand Down
17 changes: 12 additions & 5 deletions ee/wcp/ak_cred_provider/Provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,19 @@ void Provider::SetCefApp(sHookData* pData) {
// Initialize the CEF browser process. May return false if initialization
// fails or if early exit is desired (for example, due to process singleton
// relaunch behavior).
if (!CefInitialize(main_args, settings, m_pCefApp.get(), sandbox_info)) {
spdlog::debug("CefGetExitCode");
// return CefGetExitCode();
m_pCefApp = nullptr;
if (m_pCefApp)
{
if (!CefInitialize(main_args, settings, m_pCefApp.get(), sandbox_info)) {
spdlog::debug("CefGetExitCode");
// return CefGetExitCode();
m_pCefApp = nullptr;
}
spdlog::debug("CefInitialize");
}
else
{
spdlog::debug("SetCefApp: Could not instantiate SimpleApp. CEF app setup failed.");
}
spdlog::debug("CefInitialize");
// Run the CEF message loop. This will block until CefQuitMessageLoop() is
// called.
// CefRunMessageLoop();
Expand Down
Loading