File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed
Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ void RemoteTab::onCreate() {
3939
4040 auto c = remote::create (r);
4141 auto view = new RemoteView (c, r.name );
42- view->push (c->rootPath ());
43-
44- this ->tabFrame ->addTab (item, [view]() { return view; });
42+ this ->tabFrame ->addTab (item, [view, c]() {
43+ view->push (c->rootPath ());
44+ return view;
45+ });
4546 } catch (const std::exception& ex) {
4647 brls::Logger::warning (" remote {} create {}" , r.name , ex.what ());
4748 }
Original file line number Diff line number Diff line change @@ -175,9 +175,11 @@ bool AppConfig::init() {
175175 }
176176 }
177177
178- #if defined(__APPLE__) || defined(__linux__) || defined(_WIN32 )
178+ #if defined(_WIN32) && ! defined(_WINRT_ )
179179 misc::initCrashDump ();
180+ #endif
180181
182+ #if defined(__APPLE__) || defined(__linux__) || defined(_WIN32)
181183 if (this ->getItem (AppConfig::SINGLE, false ) && misc::sendIPC (this ->ipcSocket (), " {}" )) {
182184 brls::Logger::warning (" AppConfig single instance" );
183185 return false ;
You can’t perform that action at this time.
0 commit comments