mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-18 19:06:10 +00:00
Lock Core in CutterCore::loadScript() (#1581)
This commit is contained in:
parent
5390a7d173
commit
a6f4ac2dd3
@ -2647,6 +2647,7 @@ QString CutterCore::bytesToHexString(const QByteArray &bytes)
|
||||
|
||||
void CutterCore::loadScript(const QString &scriptname)
|
||||
{
|
||||
CORE_LOCK();
|
||||
r_core_task_sync_begin(core_);
|
||||
r_core_cmd_file(core_, scriptname.toUtf8().constData());
|
||||
r_core_task_sync_end(core_);
|
||||
|
Loading…
Reference in New Issue
Block a user