What is J.B. Priestly trying to say about Social reform through An Inspector Calls

The play by J. B. Priestley was written in 1945 and was performed in 1946. It was just after WWII so people really got the message...