It only crashes if the the rainmeter-settings are open and the settings for that skin are loaded. If I select another skin/folder on the left (and close the skin either by rightclicking the skin or with the tray-icon-menu), it doesn't crash. However, if I select the skin and then go to the themes-tab in the settings, it still crashes (since the settings are still loaded, but not currently visible).
Also, increasing the Update-variable reduces the chance of a crash. E.g. with a value of 50ms, it basically always crashes; with a value of 500ms, you need to time the closing correctly to make it crash. I'd assume it only crashes if you close it within x milliseconds after the !Move.
Minimal Skin:
Code: Select all
[Rainmeter]
Update=50
[CrashTestScript]
Measure=Script
ScriptFile=CrashTest.lua
[CrashTestMeter]
Meter=String
Text=CrashTest
UpdateDivider=-1
Code: Select all
function Update()
SKIN:Bang('!Move', 0, 0)
end
Edit:
After the crash, I can reopen Rainmeter without a problem and the skin has actually been closed.