We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 158c224 + 487f3e4 commit 22b6ffeCopy full SHA for 22b6ffe
src/PythonBridge/PBApplication.class.st
@@ -44,6 +44,11 @@ PBApplication class >> do: aBlockClosure [
44
^ retVal
45
]
46
47
+{ #category : #initialization }
48
+PBApplication class >> initialize [
49
+ SessionManager default registerToolClassNamed: self name
50
+]
51
+
52
{ #category : #testing }
53
PBApplication class >> isRunning [
54
^ uniqueInstance notNil and: [ uniqueInstance isRunning ]
@@ -88,6 +93,11 @@ PBApplication class >> send: obj [
88
93
^ self uniqueInstance send: obj
89
94
90
95
96
+{ #category : #accessing }
97
+PBApplication class >> shutdown: isImageQuitting [
98
+ isImageQuitting ifTrue: [ self stop ]
99
100
91
101
{ #category : #'start-stop' }
92
102
PBApplication class >> start [
103
self isRunning ifTrue: [ Error signal: 'Keras already running.' ].
0 commit comments