mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 17:39:46 +00:00
fix document events & breaking: document events removed from 'events' library temporary
This commit is contained in:
parent
8bccdc0250
commit
089bcbbb64
7 changed files with 50 additions and 55 deletions
|
|
@ -22,7 +22,7 @@ UiDocument::UiDocument(
|
|||
|
||||
UiDocument::~UiDocument() {
|
||||
try {
|
||||
scripting::on_ui_destroy(this);
|
||||
scripting::on_ui_destroy(*this);
|
||||
} catch (const std::exception& err) {
|
||||
logger.error() << "an error occurred on calling on_destroy event for document '"
|
||||
<< id << "': " << err.what();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue