mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Fix shutdown
This commit is contained in:
parent
449881f566
commit
c6a2f6eb05
3 changed files with 7 additions and 4 deletions
|
@ -59,7 +59,7 @@ Servo::Servo(GLsizei width, GLsizei height, ServoDelegate &aDelegate)
|
|||
init_with_egl(o, &wakeup, c);
|
||||
}
|
||||
|
||||
Servo::~Servo() { capi::deinit(); }
|
||||
Servo::~Servo() { sServo = nullptr; }
|
||||
|
||||
std::wstring char2w(const char *c_str) {
|
||||
auto str = std::string(c_str);
|
||||
|
@ -71,4 +71,4 @@ std::wstring char2w(const char *c_str) {
|
|||
return str2;
|
||||
}
|
||||
|
||||
} // namespace mozilla
|
||||
} // namespace servo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue