mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 20:25:19 +01:00
Drop IrrlichtDevice when running --speedtests
This commit is contained in:
@@ -1462,6 +1462,7 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
dstream<<"Running speed tests"<<std::endl;
|
dstream<<"Running speed tests"<<std::endl;
|
||||||
SpeedTests();
|
SpeedTests();
|
||||||
|
device->drop();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user