Skip to content

IMG files are not properly unloaded after resource stopped #3062

@Xenius97

Description

@Xenius97

Describe the bug

If you stop the resource, and try to modify file with script or program you will get an error message another program is using it.

Steps to reproduce

load img, then stop the resource

this should fix it, but does currently nothing:

addEventHandler("onClientResourceStop", resourceRoot, function()
	if img then
		engineRemoveImage(img)
	end
end)

Version

Multi Theft Auto v1.6-release-21834

Additional context

No response

Relevant log output

No response

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions