Skip to content

Commit b44031b

Browse files
committed
guard instance side initialization on Windows
1 parent df066a1 commit b44031b

File tree

1 file changed

+1
-0
lines changed
  • repository/OSSubprocess.package/OSSVMProcess.class/instance

1 file changed

+1
-0
lines changed

repository/OSSubprocess.package/OSSVMProcess.class/instance/initialize.st

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ initialize - release
22
initialize
33
"Set my instance variables to reflect the state of the OS process in which
44
this Smalltalk virtual machine is. executing."
5+
Smalltalk os isWindows ifTrue: [ ^ self ]. "Cannot be initialized nor used on Windows."
56

67
accessProtect := Semaphore forMutualExclusion.
78
mutexForCwd := Semaphore forMutualExclusion.

0 commit comments

Comments
 (0)