fix: delay emitting powerMonitor events on windows (#25836)
* fix: delay emitting powerMonitor events * Update electron_api_power_monitor_win.cc * Update electron_api_power_monitor_win.cc * syntax * Update electron_api_power_monitor_win.cc * Update electron_api_power_monitor_win.cc
This commit is contained in:
parent
184bccdc7d
commit
ae323565f7
2 changed files with 18 additions and 6 deletions
|
@ -78,8 +78,6 @@ class PowerMonitor : public gin::Wrappable<PowerMonitor>,
|
|||
PowerObserverLinux power_observer_linux_{this};
|
||||
#endif
|
||||
|
||||
v8::Global<v8::Value> pinned_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(PowerMonitor);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue